iptime: add a systemd file

master
Michael Hope 4 years ago
parent 03fa7d15f7
commit b82355d215

@ -0,0 +1,15 @@
[Unit]
Description=iptime
After=network.target
[Service]
Type=simple
User=juju
Group=juju
WorkingDirectory=/home/juju/lib/wordclock/srv
ExecStart=/usr/bin/uwsgi --umask 0000 -s /tmp/iptime.sock --manage-script-name --plugin python3 --mount /api/iptime=iptime:app
Restart=on-failure
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save