1
0
mirror of https://github.com/r4sas/Niflheim-api synced 2025-01-31 09:04:26 +00:00
yggdrasil-api/api/yggapi.service

14 lines
289 B
SYSTEMD
Raw Normal View History

2018-11-21 18:54:38 +01:00
[Unit]
Description=yggapi
After=network.target
[Service]
2019-12-31 22:50:44 +00:00
WorkingDirectory=/opt/yggdrasil-api/api
ExecStart=/opt/yggdrasil-api/venv/bin/python /opt/yggdrasil-api/api/niflheim-api.py
2018-11-21 18:54:38 +01:00
Restart=always
2019-12-31 22:50:44 +00:00
EnvironmentFile=/opt/yggdrasil-api/venv/bin/activate
2018-11-21 18:54:38 +01:00
[Install]
WantedBy=multi-user.target