1
0
Fork 0

path 부분 이동

This commit is contained in:
Sangbum Kim 2017-11-21 00:56:22 +09:00
parent 993abb0363
commit a105112f5f
3 changed files with 2 additions and 3 deletions

View File

@ -1,2 +1,2 @@
#!/bin/bash
exec python main.py
PATH=$VIRTUAL_ENV/bin:$PATH exec python main.py

View File

@ -5,7 +5,6 @@ After=syslog.target
[Service]
WorkingDirectory=/opt/air_monitor
Environment=VIRTUAL_ENV=/opt/air_monitor/venv/
Environment=PATH=$VIRTUAL_ENV/bin:$PATH
ExecStart=/opt/air_monitor/air_monitor
TimeoutStartSec=5
User=nobody