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
#!/bin/sh | |
# btsync service | |
# Replace with linux users you want to run BTSync clients for | |
BTSYNC_USERS="mendel" | |
DAEMON=/usr/bin/btsync | |
start() { | |
for btsuser in $BTSYNC_USERS; do | |
HOMEDIR=`getent passwd $btsuser | cut -d: -f6` | |
config=$HOMEDIR/.sync/config.json |
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
### A modified sample logster parser file that can be used to count the number | |
### of response codes found in an Apache access log. | |
### | |
### For example: | |
### sudo ./logster --dry-run --output=ganglia ApacheLogster /var/log/httpd/access_log | |
### | |
### | |
### Copyright 2011, Etsy, Inc. | |
### | |
### This file is part of Logster. |