[Unit] Description=Bunnyshell Agent After = network.target [Service] OOMScoreAdjust=-1000 PermissionsStartOnly = true EnvironmentFile=/opt/bunnyshell/bunnyshell.config KillSignal=9 PIDFile = /run/bunnyshell/bunnyshell.pid WorkingDirectory = /opt/bunnyshell ExecStartPre = /bin/mkdir -p /run/bunnyshell ExecStart = /opt/bunnyshell/bunnyshell ExecReload = /bin/kill -s SIGKILL $MAINPID ExecStop = /bin/kill -s SIGKILL $MAINPID ExecStopPost = /bin/rm -rf /run/bunnyshell PrivateTmp = false [Install] WantedBy = multi-user.target