You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
344 B
16 lines
344 B
[Unit]
|
|
Description="Hrochobot"
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=exec
|
|
ExecStartPre=mkdir -p /data/hrochobot
|
|
ExecStart=/srv/hrochobot/bin/hrochobot
|
|
Environment=HROCHOBOT_DATA=/data/hrochobot
|
|
Environment=HROCHOBOT_ETC=/data/hrochobot
|
|
Environment=HROCHOBOT_LOG=/data/log
|
|
Restart=on-failure
|
|
RestartSec=5min
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|