mirror of
https://github.com/deajan/osync
synced 2024-11-11 07:10:40 +00:00
16 lines
347 B
Bash
Executable File
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
|
|
|