[tor-bugs] #31693 [Applications/GetTor]: Have GetTor start automatically when machine reboots
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Sep 10 23:19:36 UTC 2019
#31693: Have GetTor start automatically when machine reboots
---------------------------------+------------------------
Reporter: phw | Owner: (none)
Type: defect | Status: new
Priority: Very High | Milestone:
Component: Applications/GetTor | Version:
Severity: Critical | Resolution:
Keywords: | Actual Points:
Parent ID: | Points: 0.1
Reviewer: | Sponsor:
---------------------------------+------------------------
Description changed by phw:
Old description:
> 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=/home/gettor/gettor/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/
New description:
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/
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31693#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list