forked from 0x2620/pandora
20 lines
476 B
Desktop File
20 lines
476 B
Desktop File
[Unit]
|
|
Description=pandora encoding daemon
|
|
After=postgresql.service rabbitmq-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
User=pandora
|
|
Group=pandora
|
|
PIDFile=/run/pandora/encoding.pid
|
|
WorkingDirectory=/srv/pandora/pandora
|
|
ExecStart=/srv/pandora/bin/python /srv/pandora/pandora/manage.py \
|
|
celeryd \
|
|
-Q encoding -n pandora-encoding \
|
|
--pidfile /run/pandora/encoding.pid \
|
|
-l INFO
|
|
ExecReload=/bin/kill -TERM $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|