1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 05:19:40 +02:00
pandora-box/pandora.service

20 lines
473 B
SYSTEMD
Raw Normal View History

2022-07-06 17:55:07 +02:00
[Unit]
Description=Pandora service
After=network.target
[Service]
User=_USER_
Group=_USER_
Type=forking
WorkingDirectory=/home/_USER_/pandora
2023-02-13 17:19:00 +01:00
Environment="PATH=/home/_USER_/.local/bin:/usr/bin"
2022-07-06 17:55:07 +02:00
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