| 1 |
[Unit] |
| 2 |
Description=OSPd Wrapper for the OpenVAS Scanner (ospd-openvas) |
| 3 |
Documentation=man:ospd-openvas(8) man:openvas(8) |
| 4 |
After=network.target networking.service [email protected] mosquitto.service |
| 5 |
[email protected] mosquitto.service notus-scanner.service |
| 6 |
ConditionKernelCommandLine=!recovery |
| 7 |
|
| 8 |
[Service] |
| 9 |
Type=forking |
| •10 |
User=_gvm |
| 11 |
Group=_gvm |
| 12 |
RuntimeDirectory=ospd |
| 13 |
RuntimeDirectoryMode=2775 |
| 14 |
PIDFile=/run/ospd/ospd-openvas.pid |
| 15 |
ExecStart=/usr/bin/ospd-openvas --config /etc/gvm/ospd-openvas.conf --log-config /etc/gvm/ospd-logging.conf |
| 16 |
SuccessExitStatus=SIGKILL |
| 17 |
Restart=always |
| 18 |
RestartSec=60 |
| 19 |
|
| 20 |
[Install] |
| 21 |
WantedBy=multi-user.target |