Added LSB info to init script for Debian based distros
This commit is contained in:
parent
f572a48a3b
commit
5e6396b5d4
|
@ -6,6 +6,7 @@ KNOWN ISSUES
|
|||
RECENT CHANGES
|
||||
--------------
|
||||
|
||||
- Added LSB info to init script for Debian based distros
|
||||
- Small improvements in osync-batch.sh time management
|
||||
- Improved various logging on error
|
||||
- Work in progress: Unit tests (intial tests written by onovy, Thanks again!)
|
||||
|
|
19
osync-srv
19
osync-srv
|
@ -1,10 +1,23 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
#
|
||||
# osync two way directory sync tool
|
||||
# osync-srv Two way directory sync daemon
|
||||
#
|
||||
# chkconfig: - 90 100
|
||||
# chkconfig: - 90 99
|
||||
# description: monitors a local directory and syncs to a local or remote \
|
||||
# directory on file changes
|
||||
# processname: /usr/local/bin/osync.sh
|
||||
# config: /etc/osync/*.conf
|
||||
# pidfile: /var/run/osync
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: osync-srv
|
||||
# Required-Start: $local_fs $time
|
||||
# Required-Stop: $local_fs $time
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: osync daemon
|
||||
# Description: Two way directory sync daemon
|
||||
### END INIT INFO
|
||||
|
||||
prog=osync
|
||||
progexec=osync.sh
|
||||
|
|
Loading…
Reference in New Issue