mirror of
				https://github.com/binwiederhier/ntfy.git
				synced 2025-10-31 13:02:24 +01:00 
			
		
		
		
	Docs, LoadConfig, config test
This commit is contained in:
		
							parent
							
								
									66c749d5f0
								
							
						
					
					
						commit
						68d881291c
					
				
					 11 changed files with 130 additions and 41 deletions
				
			
		scripts
|  | @ -22,7 +22,7 @@ if [ "$1" = "configure" ] && [ -d /run/systemd/system ]; then | |||
|     fi | ||||
|   fi | ||||
| 
 | ||||
|   # Restart service | ||||
|   # Restart services | ||||
|   systemctl --system daemon-reload >/dev/null || true | ||||
|   if systemctl is-active -q ntfy.service; then | ||||
|     echo "Restarting ntfy.service ..." | ||||
|  | @ -32,4 +32,12 @@ if [ "$1" = "configure" ] && [ -d /run/systemd/system ]; then | |||
|       systemctl restart ntfy.service >/dev/null || true | ||||
|     fi | ||||
|   fi | ||||
|   if systemctl is-active -q ntfy-client.service; then | ||||
|       echo "Restarting ntfy-client.service ..." | ||||
|       if [ -x /usr/bin/deb-systemd-invoke ]; then | ||||
|         deb-systemd-invoke try-restart ntfy-client.service >/dev/null || true | ||||
|       else | ||||
|         systemctl restart ntfy-client.service >/dev/null || true | ||||
|       fi | ||||
|     fi | ||||
| fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Philipp Heckel
						Philipp Heckel