use misp user to launch scripts at startup

pull/3/head
deloittem 2017-03-28 14:16:12 +02:00
parent 6f9ad72423
commit fd9f6daa41
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@
state: present
dest: /etc/rc.local
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 #########

View File

@ -47,4 +47,4 @@
state: present
dest: /etc/rc.local
insertbefore: "exit 0"
line: "sudo -u www-data misp-modules -s"
line: "su misp -c 'misp-modules -s'"