Correct units linking
This commit is contained in:
		
							
								
								
									
										3
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								setup.sh
									
									
									
									
									
								
							@@ -49,7 +49,8 @@ get_conf() {
 | 
				
			|||||||
set_conf() {
 | 
					set_conf() {
 | 
				
			||||||
  echo "Setting configuration"
 | 
					  echo "Setting configuration"
 | 
				
			||||||
  ln -s $sync_directory_path/*.service $systemd_units_path/
 | 
					  ln -s $sync_directory_path/*.service $systemd_units_path/
 | 
				
			||||||
  ln -s $sync_directory_path/*.timer $systemd_units_path/
 | 
					  ln -s $sync_directory_path/conf-sync-server.timer $systemd_units_path/conf-sync.timer
 | 
				
			||||||
 | 
					  ln -s $sync_directory_path/restart-upmpdcli.timer $systemd_units_path/
 | 
				
			||||||
  systemctl daemon-reload
 | 
					  systemctl daemon-reload
 | 
				
			||||||
  systemctl enable conf-sync.timer mpd.service upmpdcli.service restart-upmpdcli.timer
 | 
					  systemctl enable conf-sync.timer mpd.service upmpdcli.service restart-upmpdcli.timer
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user