2464e007d8
This guarantees that the logger starts after syslog and the process it's logging.
9 lines
209 B
Bash
Executable file
9 lines
209 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Ensure dependencies start before the logger
|
|
sv start syslog-ng || exit 1
|
|
sv start security_notification_worker || exit 1
|
|
sleep 1
|
|
|
|
# Start the logger
|
|
exec logger -i -t security_notification_worker
|