source: trunk/cereal/share/cereal/logrun @ 88

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
3exec 2>&1
4
5export SHAREDIR="/usr/local/share/cereal"
6. "$SHAREDIR/common"
7
8LOGUSER="$(cat ../env/LOGUSER)"
9
10if ! check_group "$LOGUSER" ; then
11    failure "'$LOGUSER' is not a valid user."
12fi
13   
14exec chpst -u "$LOGUSER" svlogd -tt ./main <../socket
Note: See TracBrowser for help on using the repository browser.