mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-05 16:32:06 +02:00
add basic config file to RPM
This commit is contained in:
parent
6a89203415
commit
382f029c3b
4 changed files with 28 additions and 3 deletions
13
rpmsrc/dtranslatebot.service
Normal file
13
rpmsrc/dtranslatebot.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue