mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-23 19:26:32 +00:00
package/sysklogd: fix installation path of the daemons
Use "--exec-prefix=/" to install syslogd and klogd at /sbin, as required by the init scripts. This also ensures that the BusyBox counterparts are not installed. Update the systemd unit files, accordingly. Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
56dc09afdb
commit
33642d8d95
@ -2,7 +2,7 @@
|
|||||||
Description=Kernel Log Daemon
|
Description=Kernel Log Daemon
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/klogd -n
|
ExecStart=/sbin/klogd -n
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ SYSKLOGD_LICENSE = GPL-2.0+
|
|||||||
SYSKLOGD_LICENSE_FILES = COPYING
|
SYSKLOGD_LICENSE_FILES = COPYING
|
||||||
# From git
|
# From git
|
||||||
SYSKLOGD_AUTORECONF = YES
|
SYSKLOGD_AUTORECONF = YES
|
||||||
|
SYSKLOGD_CONF_OPTS = --exec-prefix=/
|
||||||
|
|
||||||
define SYSKLOGD_INSTALL_SAMPLE_CONFIG
|
define SYSKLOGD_INSTALL_SAMPLE_CONFIG
|
||||||
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
|
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
|
||||||
|
@ -4,7 +4,7 @@ Requires=syslog.socket
|
|||||||
Wants=klogd.service
|
Wants=klogd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/syslogd -m 0 -n
|
ExecStart=/sbin/syslogd -m 0 -n
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user