1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
[Unit] Description=PyMedusa Daemon After=network.target [Service] User=pymedusa Group=pymedusa Type=simple ExecStart=/usr/bin/python /usr/lib/pymedusa/start.py -q --nolaunch --datadir=/var/lib/pymedusa TimeoutStopSec=25 KillMode=process Restart=on-success [Install] WantedBy=multi-user.target