123456789101112131415161718 |
- [Unit]
- Description=Starts the gPodder heartbeat server
- Requires=network.target
- After=network.target
- After=syslog.target
-
- [Service]
- Type=simple
- User=gpodder
- Restart=always
- RestartSec=3
- WorkingDirectory=/home/gpodder
- ExecStart=bash -c './env.sh celery -A mygpo beat --pidfile /tmp/celerybeat.pid -S django'
- StandardOutput=append:/home/gpodder/gpodder_beat_out.log
- StandardError=append:/home/gpodder/gpodder_beat_err.log
-
- [Install]
- WantedBy=multi-user.target
|