Skip to content

ole-old/Sync-Bell-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This script will sync databases as directed in the http://sync.local:5984/replicator database and then shutdown the system if the user running the script has permissions to do so.

Schema of the replicator docs

{ kind: "Replicate", target: "http://...", source: "http://..." }

Installation

To run on start place "sudo node [absolute path to sync.js]" at the end of /etc/rc.local but before "exit 0".

To avoid restarts, make sure there is no raspberrypi.local on the network.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published