зеркало из https://github.com/mozilla/MozDef.git
remove dependency from restapi and remove syslog mq service added accidentally.
This commit is contained in:
Родитель
58f4e5d398
Коммит
5523db23d4
|
@ -1,6 +1,5 @@
|
|||
[Unit]
|
||||
Description=uWSGI mozdef restapi
|
||||
After=rabbitmq-server.service
|
||||
|
||||
[Service]
|
||||
# Requires systemd version 211 or newer
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
Unit]
|
||||
Description=uWSGI mozdef mqwSyslog
|
||||
After=mongod.service
|
||||
|
||||
[Service]
|
||||
# Requires systemd version 211 or newer
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=-/usr/bin/mkdir /var/run/mozdefmqwSyslog
|
||||
ExecStartPre=/usr/bin/chown -R mozdef:mozdef /var/run/mozdefmqwSyslog
|
||||
User=mozdef
|
||||
Group=mozdef
|
||||
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwSyslog.ini'
|
||||
Restart=always
|
||||
KillSignal=SIGQUIT
|
||||
Type=notify
|
||||
StandardError=syslog
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=mqwsyslog
|
Загрузка…
Ссылка в новой задаче