?
[Unit] Description=Malwarebytes for Linux daemon Documentation=https://malwarebytes.com ; The configuration file and the binary need to be accessible. ConditionPathExists=/etc/mblinux/config.json ConditionFileIsExecutable=/usr/bin/mblinux ConditionFileIsExecutable=/usr/bin/mbdaemon [Service] Type=simple ; Always restart, even after an error Restart=always ; Allow unlimited restarts StartLimitBurst=0 ; Reserve exit code 100 for a daemon-initiated self-restart RestartForceExitStatus=100 ; Reserve exit code 101 for a daemon-initiated self-termination RestartPreventExitStatus=101 ; Set the number of file descriptors mbdaemon is allowed to use LimitNOFILE=1048576 ; Set the number of process mbdaemon is allowed to use LimitNPROC=128 ; DO NOT use a private tmp folder (TODO) PrivateTmp=false ; DO NOT use a private instance of /dev (TODO) PrivateDevices=false ; mbdaemon need access to the whole system ProtectHome=false ProtectSystem=false ; Users the mbdaemon runs as User=root Group=root ; Start mbdaemon ExecStart=/usr/bin/mbdaemon ; Exit mbdaemon nicely with a 30s timeout KillMode=process TimeoutStopSec=30s [Install] WantedBy=multi-user.target