Browse Source

hrochobot.service: Set HROCHOBOT_ETC

news
Martin Mareš 2 years ago
parent
commit
ac37d8ed56
  1. 5
      cobuild/010-service.d/hrochobot.service

5
cobuild/010-service.d/hrochobot.service

@ -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…
Cancel
Save