owenrusk.dev

errands

small jobs the runtime does for the studio.

git clone https://owenrusk.dev/errands.git

errands / deploy/errands.service -rw-r--r-- · 338 bytes

 1 [Unit]
 2 Description=errands
 3 After=network-online.target
 4 Wants=network-online.target
 5 
 6 [Service]
 7 User=mephistopheles
 8 Group=mephistopheles
 9 EnvironmentFile=/etc/errands.env
10 ExecStart=/opt/errands/venv/bin/python -m errands run
11 Restart=on-failure
12 RestartSec=30
13 StateDirectory=errands
14 LogsDirectory=errands
15 
16 [Install]
17 WantedBy=multi-user.target