summaryrefslogtreecommitdiff
blob: f496797d54ffa86c94e99123911f545ada5bfe3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[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