8
This commit is contained in:
		
							
								
								
									
										6
									
								
								beispiele/8/ping-omikron.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								beispiele/8/ping-omikron.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Ping Omikron Unit
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/PFAD/ZU/ping-omikron.sh
 | 
			
		||||
							
								
								
									
										3
									
								
								beispiele/8/ping-omikron.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								beispiele/8/ping-omikron.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
date &>> /var/log/ping-omikron.log
 | 
			
		||||
ping -c 3 omikron.net &>> /var/log/ping-omikron.log
 | 
			
		||||
							
								
								
									
										10
									
								
								beispiele/8/ping-omikron.timer
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								beispiele/8/ping-omikron.timer
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Ping Omikron Timer
 | 
			
		||||
 | 
			
		||||
[Timer]
 | 
			
		||||
OnActiveSec=30s
 | 
			
		||||
OnUnitActiveSec=5m
 | 
			
		||||
Persistent=true
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=basic.target
 | 
			
		||||
		Reference in New Issue
	
	Block a user