mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 11:47:01 +05:30
27 lines
515 B
Desktop File
27 lines
515 B
Desktop File
[Unit]
|
|
Description=walls-bot-rs service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Restart=on-abort
|
|
Type=simple
|
|
User=bot
|
|
WorkingDirectory=/home/bot
|
|
EnvironmentFile=/home/bot/walls-bot.config
|
|
ExecStart=/usr/bin/walls-bot-rs
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
|
KillMode=mixed
|
|
KillSignal=SIGINT
|
|
TimeoutStopSec=10s
|
|
|
|
# Security
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
ProtectControlGroups=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
PrivateDevices=true
|
|
SystemCallArchitectures=native
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|