add systemd unit file.
This commit is contained in:
parent
5f98f4de29
commit
ad4b39d8dd
12
e5sub.service
Normal file
12
e5sub.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Telegram E5Sub Bot
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/opt/e5sub
|
||||||
|
ExecStart=/opt/e5sub/E5SubBot
|
||||||
|
Restart=always
|
||||||
|
RestartSec=30
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in New Issue
Block a user