mirror of
https://github.com/Syping/dtranslatebot.git
synced 2024-11-22 22:00:24 +01:00
14 lines
269 B
SYSTEMD
14 lines
269 B
SYSTEMD
|
[Unit]
|
||
|
Description=Discord Translation Bot
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=dtranslatebot
|
||
|
Group=dtranslatebot
|
||
|
WorkingDirectory=/var/lib/dtranslatebot
|
||
|
ExecStart=/usr/bin/dtranslatebot /etc/dtranslatebot.json
|
||
|
Restart=on-abnormal
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|