This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/conf/init/service/notificationworker/log/run
Jimmy Zelinskie 2464e007d8 runit: add dependencies to loggers (#1515)
This guarantees that the logger starts after syslog and the process it's
logging.
2016-06-03 15:32:15 -04:00

9 lines
189 B
Bash
Executable file

#!/bin/sh
# Ensure dependencies start before the logger
sv start syslog-ng || exit 1
sv start notificationworker || exit 1
sleep 1
# Start the logger
exec logger -i -t notificationworker