1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-06 06:15:22 +02:00

work in progress

This commit is contained in:
dbarzin 2022-07-06 17:55:07 +02:00
parent fca068ce17
commit bf30f44a08
2 changed files with 35 additions and 11 deletions

19
pandora.service Normal file
View file

@ -0,0 +1,19 @@
[Unit]
Description=Pandora service
After=network.target
[Service]
User=_USER_
Group=_USER_
Type=forking
WorkingDirectory=/home/_USER_/pandora
Environment="PATH=/home/_USER_/.poetry/bin:/usr/bin"
Environment="PANDORA_HOME=/home/_USER_/pandora"
ExecStart=/bin/bash -c "exec poetry run start"
ExecStop=/bin/bash -c "exec poetry run stop"
StandardOutput=append:/var/log/pandora_message.log
StandardError=append:/var/log/pandora_error.log
[Install]
WantedBy=multi-user.target