mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 14:07:02 +05:30
systemd: Remove mkr-bin service
I run this in docker-compose now Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
c3a2ccb256
commit
394328ea1d
2 changed files with 0 additions and 33 deletions
|
@ -1,32 +0,0 @@
|
|||
[Unit]
|
||||
Description=mkr/bin service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Restart=on-abort
|
||||
Type=simple
|
||||
User=bot
|
||||
Group=bot
|
||||
Environment=BIN_MONGO_CSTRING=mongodb://localhost:27017/bin-store BIN_PORT=8080
|
||||
WorkingDirectory=/home/bot/bin
|
||||
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
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
SystemCallArchitectures=native
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue