Browse Source

move service file and fix it

master
R4SAS 5 years ago
parent
commit
4c57790f22
  1. 4
      yggapi.service

4
api/yggapi.service → yggapi.service

@ -3,11 +3,11 @@ Description=yggapi
After=network.target After=network.target
[Service] [Service]
WorkingDirectory=/opt/yggdrasil-api/api WorkingDirectory=/opt/yggdrasil-api
ExecStart=/opt/yggdrasil-api/venv/bin/python /opt/yggdrasil-api/api/niflheim-api.py ExecStart=/opt/yggdrasil-api/venv/bin/python /opt/yggdrasil-api/api/niflheim-api.py
Restart=always Restart=always
EnvironmentFile=/opt/yggdrasil-api/venv/bin/activate Type=simple
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Loading…
Cancel
Save