Have GetTor start automatically when machine reboots
Getulum last rebooted on 2019-09-07 at 20:02:55 UTC. After the machine came back online, GetTor didn't start again and it has been offline for the last three days. We really need systemd (or whatever) to start the service automatically. Let's set this up as a user-level service as described here: https://help.torproject.org/tsa/doc/services/
Here's a possible gettor.service file:
[Unit]
Description=GetTor distributes links to Tor Browser over email.
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/bin/sh -c 'cd /home/gettor/bin/ && source venv/bin/activate && bin/gettor_service start'
[Install]
WantedBy=multi-user.target
I believe that we still need a sysadmin to run loginctl enable-linger gettor
to enable lingering services for the gettor user: see the section "sysadmin stuff" in https://help.torproject.org/tsa/doc/services/