Archived
1 parent
f5bdd7e21c
commit
affe28ad71
110 files changed
+52936
-14
No files matched your search
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=WGTools Telegram Bot
|
||||
After=network-online.target wgtools.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/opt/wgtools
|
||||
EnvironmentFile=-/etc/wgtools/wgtools.env
|
||||
ExecStart=/opt/wgtools/.venv/bin/python -m app.telegram_bot
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user