hrochobot.service: Set HROCHOBOT_ETC
This commit is contained in:
parent
af563d8a2c
commit
ac37d8ed56
1 changed files with 3 additions and 2 deletions
|
@ -4,9 +4,10 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=exec
|
||||
ExecStartPre=mkdir -p /data/etc
|
||||
ExecStartPre=mkdir -p /data/hrochobot
|
||||
ExecStart=/usr/local/bin/hrochobot
|
||||
Environment=HROCHOBOT_DATA=/data/etc
|
||||
Environment=HROCHOBOT_DATA=/data/hrochobot
|
||||
Environment=HROCHOBOT_ETC=/data/hrochobot
|
||||
Environment=HROCHOBOT_LOG=/data/log
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue