From 595f3841aa3a3f5bda58cbca6a9fb18a3a9eed4f Mon Sep 17 00:00:00 2001 From: Noah Date: Sat, 19 May 2018 22:34:50 +0200 Subject: [PATCH] units: update ExecStart path for improved portability On Fedora 28, /lib is a symlink to /usr/lib. On Ubuntu 18.04 LTS, the two are independent directories. Furthermore, on Ubuntu 18.04 LTS, all the systemd-* binaries live in /lib/systemd/, not /usr/lib/systemd/. This changes the ExecStart line to /lib/systemd/systemd-netlogd to improve portability across different Linux distributions. Closes #11. --- units/systemd-netlogd.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-netlogd.service.in b/units/systemd-netlogd.service.in index 0240888..87622e0 100644 --- a/units/systemd-netlogd.service.in +++ b/units/systemd-netlogd.service.in @@ -11,7 +11,7 @@ Documentation=man:systemd-netlogd.conf(5) After=network.target [Service] -ExecStart=/usr/lib/systemd/systemd-netlogd +ExecStart=/lib/systemd/systemd-netlogd PrivateTmp=yes PrivateDevices=yes WatchdogSec=20min