-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simpler upstart script without redirects and pipes
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
start on startup | ||
kill timeout 30 | ||
respawn | ||
script | ||
set -a | ||
. /etc/lifecycled | ||
mkfifo /tmp/lifecycled-log-fifo | ||
( logger -t lifecycled </tmp/lifecycled-log-fifo & ) | ||
exec >/tmp/lifecycled-log-fifo | ||
exec 2>&1 | ||
rm /tmp/lifecycled-log-fifo | ||
exec /usr/bin/lifecycled | ||
end script | ||
exec /usr/bin/lifecycled >> /var/log/lifecycled 2>&1 | ||
end script |