| 
									
										
										
										
											2024-12-29 18:53:10 +01:00
										 |  |  | [Unit] | 
					
						
							|  |  |  | Description=Update and restart OS | 
					
						
							|  |  |  | Requires=network.target | 
					
						
							|  |  |  | After=network.target | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Service] | 
					
						
							| 
									
										
										
										
											2025-01-31 01:05:00 +01:00
										 |  |  | User=build | 
					
						
							| 
									
										
										
										
											2024-12-29 18:53:10 +01:00
										 |  |  | Type=oneshot | 
					
						
							|  |  |  | IgnoreSIGPIPE=no | 
					
						
							|  |  |  | ExecStart=/usr/bin/paru -Syu --noconfirm | 
					
						
							| 
									
										
										
										
											2025-02-25 05:43:41 +01:00
										 |  |  | ExecStartPost=/bin/bash -c 'sudo /usr/local/bin/arch-needs-restart | grep -Piq '"'"'# [^:]+: reboot required'"'"' && sudo reboot || true' | 
					
						
							| 
									
										
										
										
											2024-12-29 18:53:10 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Install] | 
					
						
							|  |  |  | WantedBy=multi-user.target |