update install script
This commit is contained in:
parent
a8169108b8
commit
54c601d7ca
3 changed files with 25 additions and 9 deletions
15
service.service
Normal file
15
service.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Radical Bot Daemon
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=$root$
|
||||
User=$user$
|
||||
Group=$user$
|
||||
Restart=always
|
||||
RestartSec=20 3
|
||||
ExecStart=/usr/bin/env python3.9 main.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi.user.target
|
Loading…
Add table
Add a link
Reference in a new issue