Skip to content

Instantly share code, notes, and snippets.

@shaardie
Last active February 10, 2020 05:59
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaardie/19ed2fcc6187d3663014cdbcae579e02 to your computer and use it in GitHub Desktop.
Save shaardie/19ed2fcc6187d3663014cdbcae579e02 to your computer and use it in GitHub Desktop.
OpenVAS Systemd Service files
[Unit]
Description=OpenVAS - Greenbone Security Assistant
After=network.target
[Service]
ExecStart=/usr/local/sbin/gsad --foreground
[Install]
WantedBy=multi-user.target
[Unit]
Description=OpenVAS Manager - Slave configuration
After=network.target
[Service]
ExecStart=/usr/local/sbin/openvasmd --listen=0.0.0.0 --foreground
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
[Unit]
Description=OpenVAS Manager
After=network.target
[Service]
ExecStart=/usr/local/sbin/openvasmd --foreground
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
[Unit]
Description=OpenVAS Scanner
After=network.target redis-server.service
[Service]
ExecStart=/usr/local/sbin/openvassd --foreground
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
@isweluiz
Copy link

isweluiz commented Feb 7, 2019

Ok, tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment