Add linkchecker Systemd service and timer
Doesn't yet email report of errors.
This commit is contained in:
		
							parent
							
								
									03e06738a0
								
							
						
					
					
						commit
						66c8b2c8ea
					
				
					 2 changed files with 31 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								systemd/conservancy-www-linkchecker.service
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								systemd/conservancy-www-linkchecker.service
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | ||||||
|  | # Check all internal links on the Conservancy website | ||||||
|  | 
 | ||||||
|  | [Unit] | ||||||
|  | Description=Check Conservancy website links | ||||||
|  | 
 | ||||||
|  | [Service] | ||||||
|  | Type=oneshot | ||||||
|  | User=debian | ||||||
|  | ExecStart=linkchecker https://sfconservancy.org/ | ||||||
|  | 
 | ||||||
|  | SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete | ||||||
|  | CapabilityBoundingSet= | ||||||
|  | NoNewPrivileges=true | ||||||
|  | 
 | ||||||
|  | PrivateDevices=true | ||||||
|  | PrivateNetwork=false | ||||||
|  | PrivateTmp=true | ||||||
|  | PrivateUsers=false | ||||||
|  | ProtectControlGroups=true | ||||||
|  | ProtectHome=true | ||||||
|  | ProtectKernelModules=true | ||||||
|  | ProtectKernelTunables=true | ||||||
|  | ProtectSystem=strict | ||||||
							
								
								
									
										8
									
								
								systemd/conservancy-www-linkchecker.timer
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								systemd/conservancy-www-linkchecker.timer
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | ||||||
|  | [Unit] | ||||||
|  | Description=Check Conservancy website links | ||||||
|  | 
 | ||||||
|  | [Timer] | ||||||
|  | OnCalendar=weekly | ||||||
|  | 
 | ||||||
|  | [Install] | ||||||
|  | WantedBy=timers.target | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue