Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #31693
Closed (moved) (moved)
Open
Created Sep 10, 2019 by Philipp Winter@phw

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/

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking