2
0
mirror of https://github.com/deajan/osync synced 2024-11-17 09:25:42 +00:00
osync/install.sh
2014-11-24 23:15:32 +01:00

16 lines
347 B
Bash
Executable File

#!/usr/bin/env bash
SCRIPT_BUILD=2411201401
## Osync daemon install script
## Tested on RHEL / CentOS 6 & 7
## Please adapt this to fit your distro needs
mkdir /etc/osync
cp ./sync.conf /etc/osync/sync.conf.example
cp ./exclude.list.example /etc/osync
cp ./osync.sh /usr/local/bin
cp ./osync-batch.sh /usr/local/bin
cp ./osync-srv /etc/init.d