Skip to content

Commit 595f384

Browse files
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.
1 parent 8362fcc commit 595f384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/systemd-netlogd.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Documentation=man:systemd-netlogd.conf(5)
1111
After=network.target
1212

1313
[Service]
14-
ExecStart=/usr/lib/systemd/systemd-netlogd
14+
ExecStart=/lib/systemd/systemd-netlogd
1515
PrivateTmp=yes
1616
PrivateDevices=yes
1717
WatchdogSec=20min

0 commit comments

Comments
 (0)