зеркало из https://github.com/mozilla/mig.git
23 строки
386 B
Plaintext
23 строки
386 B
Plaintext
# Mozilla InvestiGator MozDef Asset Worker
|
|
|
|
description "MIG Agent Intel Worker"
|
|
|
|
start on filesystem or runlevel [2345]
|
|
stop on runlevel [!2345]
|
|
|
|
setuid mig
|
|
limit nofile 640000 640000
|
|
|
|
respawn
|
|
respawn limit 10 5
|
|
umask 022
|
|
|
|
console none
|
|
|
|
pre-start script
|
|
test /opt/mig/bin/mig-worker-agent-intel || { stop; exit 0; }
|
|
end script
|
|
|
|
# Start
|
|
exec /opt/mig/bin/mig-worker-agent-intel
|