зеркало из https://github.com/mozilla/MozDef.git
Missing /var/run/ folders for mq workers with new naming convention.
This commit is contained in:
Родитель
25a2bed198
Коммит
51ae63207e
|
@ -4,6 +4,9 @@ After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Requires systemd version 211 or newer
|
# Requires systemd version 211 or newer
|
||||||
|
PermisssionsStartOnly=true
|
||||||
|
ExecStartPre=-/usr/bin/mkdir /var/run/mozdefmqwFxa
|
||||||
|
ExecStartPre=/usr/bin/chown -R mozdef:mozdef /var/run/mozdefmqwFxa
|
||||||
User=mozdef
|
User=mozdef
|
||||||
Group=mozdef
|
Group=mozdef
|
||||||
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwFxa.ini'
|
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwFxa.ini'
|
||||||
|
|
|
@ -4,6 +4,9 @@ After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Requires systemd version 211 or newer
|
# Requires systemd version 211 or newer
|
||||||
|
PermissionsStartOnly=true
|
||||||
|
ExecStartPre=-/usr/bin/mkdir /var/run/mozdefmqwInfosecSQS
|
||||||
|
ExecStartPre=/usr/bin/chown -R mozdef:mozdef /var/run/mozdefmqwInfosecSQS
|
||||||
User=mozdef
|
User=mozdef
|
||||||
Group=mozdef
|
Group=mozdef
|
||||||
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwInfosecSQS.ini'
|
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwInfosecSQS.ini'
|
||||||
|
|
|
@ -4,6 +4,9 @@ After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Requires systemd version 211 or newer
|
# Requires systemd version 211 or newer
|
||||||
|
PermissionsStartOnly=true
|
||||||
|
ExecStartPre=-/usr/bin/mkdir /var/run/mozdefmqwNubis
|
||||||
|
ExecStartPre=/usr/bin/chown -R mozdef:mozdef /var/run/mozdefmqwNubis
|
||||||
User=mozdef
|
User=mozdef
|
||||||
Group=mozdef
|
Group=mozdef
|
||||||
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwNubis.ini'
|
ExecStart=/bin/bash -c 'cd /opt/mozdef/envs/mozdef/mq; source /opt/mozdef/envs/mozdef/bin/activate; uwsgi --ini mqwNubis.ini'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче