13 lines
		
	
	
		
			375 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			375 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
[Unit]
 | 
						|
Description=osync - a robust two way (bidirectional) file sync script based on rsync with fault tolerance
 | 
						|
After=time-sync.target local-fs.target network-online.target
 | 
						|
Requires=time-sync.target local-fs.target
 | 
						|
Wants=network-online.target
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=simple
 | 
						|
ExecStart=/usr/local/bin/osync.sh /etc/osync/%i --on-changes --silent
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |