path 부분 이동
This commit is contained in:
parent
993abb0363
commit
a105112f5f
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
exec python main.py
|
PATH=$VIRTUAL_ENV/bin:$PATH exec python main.py
|
|
@ -5,7 +5,6 @@ After=syslog.target
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/air_monitor
|
WorkingDirectory=/opt/air_monitor
|
||||||
Environment=VIRTUAL_ENV=/opt/air_monitor/venv/
|
Environment=VIRTUAL_ENV=/opt/air_monitor/venv/
|
||||||
Environment=PATH=$VIRTUAL_ENV/bin:$PATH
|
|
||||||
ExecStart=/opt/air_monitor/air_monitor
|
ExecStart=/opt/air_monitor/air_monitor
|
||||||
TimeoutStartSec=5
|
TimeoutStartSec=5
|
||||||
User=nobody
|
User=nobody
|
||||||
|
|
Loading…
Reference in New Issue