mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	install laminard in usr/sbin not usr/bin
complies with FHS
This commit is contained in:
		
							parent
							
								
									e6f338ceb2
								
							
						
					
					
						commit
						304ef797b8
					
				| @ -118,7 +118,8 @@ endif() | |||||||
| set(SYSTEMD_UNITDIR lib/systemd/system CACHE PATH "Path to systemd unit files") | set(SYSTEMD_UNITDIR lib/systemd/system CACHE PATH "Path to systemd unit files") | ||||||
| set(BASH_COMPLETIONS_DIR usr/share/bash-completion/completions CACHE PATH "Path to bash completions directory") | set(BASH_COMPLETIONS_DIR usr/share/bash-completion/completions CACHE PATH "Path to bash completions directory") | ||||||
| set(ZSH_COMPLETIONS_DIR usr/share/zsh/site-functions CACHE PATH "Path to zsh completions directory") | set(ZSH_COMPLETIONS_DIR usr/share/zsh/site-functions CACHE PATH "Path to zsh completions directory") | ||||||
| install(TARGETS laminard laminarc RUNTIME DESTINATION usr/bin) | install(TARGETS laminard RUNTIME DESTINATION usr/sbin) | ||||||
|  | install(TARGETS laminarc RUNTIME DESTINATION usr/bin) | ||||||
| install(FILES etc/laminar.service DESTINATION ${SYSTEMD_UNITDIR}) | install(FILES etc/laminar.service DESTINATION ${SYSTEMD_UNITDIR}) | ||||||
| install(FILES etc/laminar.conf DESTINATION etc) | install(FILES etc/laminar.conf DESTINATION etc) | ||||||
| install(FILES etc/laminarc-completion.bash DESTINATION ${BASH_COMPLETIONS_DIR} RENAME laminarc) | install(FILES etc/laminarc-completion.bash DESTINATION ${BASH_COMPLETIONS_DIR} RENAME laminarc) | ||||||
|  | |||||||
| @ -5,7 +5,7 @@ After=network.target | |||||||
| [Service] | [Service] | ||||||
| User=laminar | User=laminar | ||||||
| EnvironmentFile=-/etc/laminar.conf | EnvironmentFile=-/etc/laminar.conf | ||||||
| ExecStart=/usr/bin/laminard | ExecStart=/usr/sbin/laminard | ||||||
| 
 | 
 | ||||||
| [Install] | [Install] | ||||||
| WantedBy=multi-user.target | WantedBy=multi-user.target | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user