source: branches/cereal/0.22/fs/usr/share/cereal/logrun @ 1205

Last change on this file since 1205 was 1205, checked in by jrollins, 10 years ago

cereal: i got way overzealous and did not pay attention, so i am reverting the uid changes i just made outside of the debian/ directory. i am also reverting some other the changes that Daniel made that i thought were ultimately not necessary, so as to keep the total number of diffs to an absolute minimum. i will now completely stop mucking with things, and will accept whatever changes Daniel thinks are best for the backport. all appologies.

  • Property svn:executable set to *
File size: 510 bytes
Line 
1#!/bin/sh -e
2
3# The cereal scripts were written by
4# Jameson Rollins <jrollins@fifthhorseman.net>
5# and
6# Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>.
7#
8# They are Copyright 2007, and are all released under the GPL, version 3
9# or later.
10
11exec 2>&1
12
13SHAREDIR="/usr/share/cereal"
14export SHAREDIR
15. "$SHAREDIR/common"
16
17LOGUSER="$(cat ../env/LOGUSER)"
18LOGGROUP="$(cat ../env/LOGGROUP)"
19
20check_user "$LOGUSER"
21check_group "$LOGGROUP"
22   
23exec chpst -u "$LOGUSER:$LOGGROUP" svlogd -tt ./main <../socket
Note: See TracBrowser for help on using the repository browser.