-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed script so it can be dropped into the user's crontab during install
- this fixes CRON (yes, again)
- Loading branch information
Showing
1 changed file
with
1 addition
and
14 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,14 +1 @@ | |||
#!/bin/sh -e | * * * * * /usr/local/bin/lipsync | ||
# Distributed under the terms of the BSD License. | |||
# Copyright (c) 2011 Phil Cryer phil.cryer@gmail.com | |||
# Source https://github.com/philcryer/lipsync | |||
|
|||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |||
CONF_FILE=/etc/lipsyncd | |||
|
|||
if [[ -e $CONF_FILE ]]; then | |||
. $CONF_FILE | |||
fi | |||
|
|||
# run lipsync against the server every 15 minutes to catch changes from other nodes | |||
15,30,45,00 * * * * $USER_NAME /usr/local/bin/lipsync |