mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	solved bugs
This commit is contained in:
		@@ -1,7 +1,8 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=backing up data
 | 
			
		||||
OnFailure=systemd-email@%n.service
 | 
			
		||||
ConditionPathExists={{backup_to_swappable_destination_path}}
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=oneshot
 | 
			
		||||
ExecStart=/usr/bin/bash {{backup_to_swappable_script_path}}
 | 
			
		||||
ExecStart=/usr/bin/bash {{backup_to_swappable_script_path}} {{backup_to_swappable_destination_path}} {{backup_to_swappable_source_path}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user