mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 16:27:02 +05:30
Cleanup
This commit is contained in:
parent
3892a47658
commit
446773b688
2 changed files with 1 additions and 32 deletions
|
@ -1,31 +0,0 @@
|
|||
[Unit]
|
||||
Description=Private mirror bot service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Restart=on-abort
|
||||
Type=simple
|
||||
User=bot
|
||||
WorkingDirectory=/home/bot/aria-telegram-mirror-bot-2
|
||||
ExecStartPre=/usr/bin/env bash aria.sh
|
||||
ExecStart=/usr/bin/npm start
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
KillMode=mixed
|
||||
KillSignal=SIGQUIT
|
||||
TimeoutStopSec=5s
|
||||
|
||||
# Security
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
||||
NoNewPrivileges=true
|
||||
ProtectControlGroups=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelTunables=true
|
||||
PrivateDevices=true
|
||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
SystemCallArchitectures=native
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue