mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-10-27 07:17:21 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| [Unit]
 | |
| Description=Aminda's cronless tasks to do a bit after booting
 | |
| 
 | |
| [Service]
 | |
| Type=oneshot
 | |
| TimeoutStartSec=infinity
 | |
| # Remember `systemd-path search-binaries-default`
 | |
| # - means it can fail, without failing those after it
 | |
| ExecStartPre=-chmod a+x /root /var/roothome
 | |
| # Another attempt at ensuring Yggdrasil works with nordvpnd
 | |
| ExecStartPre=-systemctl enable --now aminda-nocron-reboot.service
 | |
| ExecStartPre=-systemctl enable --now aminda-nocron-reboot.timer
 | |
| ExecStartPre=-systemctl enable --now aminda-duperemove.service
 | |
| ExecStartPre=-systemctl enable --now aminda-duperemove.timer
 | |
| # Careless sysadmin workaround. No autostarting service, only timer
 | |
| ExecStartPre=-systemctl disable monthly-btrfs-balance.service
 | |
| ExecStartPre=-systemctl enable --now monthly-btrfs-balance.timer
 | |
| ExecStartPre=-sysctl net.ipv6.conf.all.disable_ipv6=0
 | |
| ExecStartPre=-systemctl enable --now tlp
 | |
| ExecStart=-systemctl --global enable systemd-tmpfiles-clean.timer systemd-tmpfiles-setup.service
 | |
| ExecStart=-systemctl restart yggdrasil.service
 | |
| ExecStart=-firewall-cmd --reload
 | |
| # If they somehow managed to not start already
 | |
| ExecStart=-systemctl enable --now ssh.socket
 | |
| ExecStart=-systemctl enable --now sshd.socket
 | |
| ExecStart=-systemctl enable --now unbound.service
 | |
| ExecStart=-systemctl enable --now systemd-resolved.service
 | |
| ExecStart=-tlp setcharge
 | |
| User=root
 | |
| StandardOutput=journal
 | |
| StandardError=journal
 | |
| 
 | |
| [Install]
 | |
| WantedBy=multi-user.target
 |