mirror of https://github.com/MISP/ansible
use misp user to launch scripts at startup
parent
6f9ad72423
commit
fd9f6daa41
|
@ -250,7 +250,7 @@
|
||||||
state: present
|
state: present
|
||||||
dest: /etc/rc.local
|
dest: /etc/rc.local
|
||||||
insertbefore: "exit 0"
|
insertbefore: "exit 0"
|
||||||
line: "sudo -u www-data bash /opt/misp-server/misp/app/Console/worker/start.sh"
|
line: "su misp -c 'bash /opt/misp-server/misp/app/Console/worker/start.sh'"
|
||||||
|
|
||||||
######### ADD-ON #########
|
######### ADD-ON #########
|
||||||
|
|
||||||
|
|
|
@ -47,4 +47,4 @@
|
||||||
state: present
|
state: present
|
||||||
dest: /etc/rc.local
|
dest: /etc/rc.local
|
||||||
insertbefore: "exit 0"
|
insertbefore: "exit 0"
|
||||||
line: "sudo -u www-data misp-modules -s"
|
line: "su misp -c 'misp-modules -s'"
|
||||||
|
|
Loading…
Reference in New Issue