diff --git a/api/yggapi.service b/yggapi.service similarity index 67% rename from api/yggapi.service rename to yggapi.service index 57a1a4b..a801485 100644 --- a/api/yggapi.service +++ b/yggapi.service @@ -3,11 +3,11 @@ Description=yggapi After=network.target [Service] -WorkingDirectory=/opt/yggdrasil-api/api +WorkingDirectory=/opt/yggdrasil-api ExecStart=/opt/yggdrasil-api/venv/bin/python /opt/yggdrasil-api/api/niflheim-api.py Restart=always -EnvironmentFile=/opt/yggdrasil-api/venv/bin/activate +Type=simple [Install] WantedBy=multi-user.target