You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/ospd-openvas/files/ospd-openvas.service

19 lines
512 B

[Unit]
Description=OSPD OpenVAS
After=network.target networking.service dnsmasq.service redis-server@openvas.service systemd-tmpfiles.service
ConditionKernelCommandLine=!recovery
[Service]
Type=forking
User=gvm
Group=gvm
ExecStart=/usr/bin/ospd-openvas --config /etc/openvas/ospd.conf --foreground
SuccessExitStatus=SIGKILL
# This works asynchronously, but does not take the daemon down during the reload so it's ok.
Restart=always
RestartSec=60
[Install]
WantedBy=multi-user.target
Alias=ospd-openvas.service