Improve Telegram formatting and web synthesis
This commit is contained in:
parent
605c135b08
commit
0675f9a441
8 changed files with 425 additions and 508 deletions
18
deploy/marvin.service
Normal file
18
deploy/marvin.service
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=Marvin Telegram Bot
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=marvin
|
||||
Group=marvin
|
||||
WorkingDirectory=/home/marvin/marvin
|
||||
EnvironmentFile=/home/marvin/marvin/.env
|
||||
ExecStart=/usr/bin/node --no-warnings src/bot.js
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue