new: Add systemd launcher

pull/279/head
Raphaël Vinot 2019-02-24 16:02:13 -08:00
parent d5ed21f537
commit 66ee78e7af
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
[Unit]
Description=System-wide instance of the MISP Modules
After=network.target
[Service]
User=www-data
Group=www-data
WorkingDirectory=/usr/local/src/misp-modules
Environment="PATH=/var/www/MISP/venv/bin"
ExecStart=misp-modules -l 127.0.0.1 -s
[Install]
WantedBy=multi-user.target