mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Delete TelegramBot.service
This commit is contained in:
parent
ec8ab02f27
commit
4c02ebc265
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=TelegramBot
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=bash -c 'source $HOME/.profile && (command -v bun &> /dev/null && exec bun start || exec npm start)'
|
|
||||||
WorkingDirectory=/home/%u/TelegramBot
|
|
||||||
Restart=always
|
|
||||||
User=%u
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
x
Reference in New Issue
Block a user