systemd: fix unit file install path
The proper location for unit files is /usr/lib/systemd/system, with /etc/systemd/system reserved for local overrides of default package settings. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
parent
5ae3ad9011
commit
ce9fc08aa9
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ Install Path | Description
|
|||
/usr/share/core/|Example scripts and scenarios
|
||||
/usr/share/man/man1/|Command man pages
|
||||
/etc/init.d/core-daemon|SysV startup script for daemon
|
||||
/etc/systemd/system/core-daemon.service|Systemd startup script for daemon
|
||||
/usr/lib/systemd/system/core-daemon.service|Systemd startup script for daemon
|
||||
|
||||
# Pre-Req Installing Python
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ startupdir = /etc/init.d
|
|||
startup_SCRIPTS = core-daemon
|
||||
endif
|
||||
if WANT_SYSTEMD
|
||||
startupdir = /etc/systemd/system
|
||||
startupdir = /usr/lib/systemd/system
|
||||
startup_SCRIPTS = core-daemon.service
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue