|
Last change
on this file since 88 was
88,
checked in by jrollins, 6 years ago
|
|
cereal: Changed logs to use lexicographically-sortable, human-readable UTC
timestamps.
|
-
Property svn:executable set to
*
|
|
File size:
264 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | exec 2>&1 |
|---|
| 4 | |
|---|
| 5 | export SHAREDIR="/usr/local/share/cereal" |
|---|
| 6 | . "$SHAREDIR/common" |
|---|
| 7 | |
|---|
| 8 | LOGUSER="$(cat ../env/LOGUSER)" |
|---|
| 9 | |
|---|
| 10 | if ! check_group "$LOGUSER" ; then |
|---|
| 11 | failure "'$LOGUSER' is not a valid user." |
|---|
| 12 | fi |
|---|
| 13 | |
|---|
| 14 | exec chpst -u "$LOGUSER" svlogd -tt ./main <../socket |
|---|
Note: See
TracBrowser
for help on using the repository browser.