server-config/systemd_units/walls-bot.service
Harsh Shandilya 00463512d6
systemd: Remove usage limits
My processes are stable anyway

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-03 00:01:24 +05:30

20 lines
376 B
Desktop File

[Unit]
Description=Desktop walls bot service
After=network.target
[Service]
Restart=on-abort
Type=simple
User=bot
WorkingDirectory=/home/bot/walls-bot
ExecStart=/home/bot/walls-bot/gradlew run
ExecReload=/bin/kill -USR1 $MAINPID
KillMode=mixed
KillSignal=SIGQUIT
TimeoutStopSec=5s
PrivateTmp=true
PrivateDevices=false
ProtectSystem=full
[Install]
WantedBy=multi-user.target