hrochobot.service: Set HROCHOBOT_ETC

This commit is contained in:
Martin Mareš 2023-04-16 18:55:05 +02:00
parent af563d8a2c
commit ac37d8ed56

View file

@ -4,9 +4,10 @@ After=network.target
[Service] [Service]
Type=exec Type=exec
ExecStartPre=mkdir -p /data/etc ExecStartPre=mkdir -p /data/hrochobot
ExecStart=/usr/local/bin/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 Environment=HROCHOBOT_LOG=/data/log
[Install] [Install]