add security notification worker to init
This commit is contained in:
parent
da31714fb5
commit
270010105d
2 changed files with 10 additions and 0 deletions
2
conf/init/service/security_notification_worker/log/run
Normal file
2
conf/init/service/security_notification_worker/log/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -i -t securitynotificationworker
|
8
conf/init/service/security_notification_worker/run
Normal file
8
conf/init/service/security_notification_worker/run
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
echo 'Starting security scanner notification worker'
|
||||||
|
|
||||||
|
cd /
|
||||||
|
venv/bin/python -m workers.security_notification_worker 2>&1
|
||||||
|
|
||||||
|
echo 'Security scanner notification worker exited'
|
Reference in a new issue