path 부분 이동
This commit is contained in:
parent
993abb0363
commit
a105112f5f
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
exec python main.py
|
||||
PATH=$VIRTUAL_ENV/bin:$PATH exec python main.py
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue