Should probably also consider switching this to a "forking" service, and using the --daemon option
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			438 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			438 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=Chroma Wallpaper Daemon
 | 
						|
After=graphical-session.target
 | 
						|
Wants=graphical-session.target
 | 
						|
PartOf=graphical-session.target
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=simple
 | 
						|
ExecStart=chroma
 | 
						|
ExecReload=kill -HUP $MAINPID
 | 
						|
Restart=on-failure
 | 
						|
RestartSec=1
 | 
						|
KillMode=mixed
 | 
						|
TimeoutStopSec=5
 | 
						|
 | 
						|
# Security
 | 
						|
NoNewPrivileges=true
 | 
						|
PrivateDevices=true
 | 
						|
ProtectSystem=strict
 | 
						|
ProtectHome=read-only
 | 
						|
ReadWritePaths=%h/.config/chroma
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |