From bde52887c7f4ad81908726285136c8cf30a3cffd Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 1 Oct 2013 16:00:49 +0200 Subject: [PATCH] systemd: use full path for mkdir/cp Otherwise, systemd will just ignore the commands. --- src/daemon/lldpd.service.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/lldpd.service.in b/src/daemon/lldpd.service.in index 61e157b6..47af6569 100644 --- a/src/daemon/lldpd.service.in +++ b/src/daemon/lldpd.service.in @@ -7,8 +7,8 @@ Type=notify NotifyAccess=main EnvironmentFile=-/etc/default/lldpd ExecStart=@prefix@/sbin/lldpd $DAEMON_ARGS -ExecStartPre=mkdir -p @PRIVSEP_CHROOT@/etc -ExecStartPre=cp /etc/localtime @PRIVSEP_CHROOT@/etc/localtime +ExecStartPre=/bin/mkdir -p @PRIVSEP_CHROOT@/etc +ExecStartPre=/bin/cp /etc/localtime @PRIVSEP_CHROOT@/etc/localtime Restart=on-failure [Install] -- 2.39.5