diff options
Diffstat (limited to 'net-analyzer/openvas-manager/files/openvasmd.service')
-rw-r--r-- | net-analyzer/openvas-manager/files/openvasmd.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-analyzer/openvas-manager/files/openvasmd.service b/net-analyzer/openvas-manager/files/openvasmd.service new file mode 100644 index 000000000000..91edb0087bc4 --- /dev/null +++ b/net-analyzer/openvas-manager/files/openvasmd.service @@ -0,0 +1,16 @@ +[Unit] +Description=OpenVAS Manager +After=network.target +After=openvassd.service + +[Service] +EnvironmentFile=-/etc/openvas/openvasmd.conf +ExecStart=/usr/sbin/openvasmd -f ${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS} +Restart=always +RestartSec=1 +User=root +Group=root +TimeoutSec=1200 + +[Install] +WantedBy=multi-user.target |