diff --git a/CHANGELOG.md b/CHANGELOG.md index ae37aca..30baa20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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!) diff --git a/osync-srv b/osync-srv index cccfa38..ea094ab 100755 --- a/osync-srv +++ b/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