1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 05:02:20 +00:00
ghostream/debian/service

17 lines
426 B
Plaintext
Raw Normal View History

2020-09-14 11:18:39 +00:00
[Unit]
Description=Simple streaming server
2020-09-14 11:56:09 +00:00
After=syslog.target
2020-09-14 11:18:39 +00:00
[Service]
User=www-data
EnvironmentFile=-/etc/default/ghostream
2020-09-14 14:52:00 +00:00
ExecStart=/usr/bin/uwsgi --http-socket 127.0.0.1:8080 --master --plugin python3 --module ghostream:app --static-map /static=/usr/lib/python3/dist-packages/ghostream/static
2020-09-14 11:56:09 +00:00
Restart=on-failure
KillSignal=SIGQUIT
Type=notify
StandardError=syslog
NotifyAccess=all
2020-09-14 11:18:39 +00:00
[Install]
WantedBy=multi-user.target