Skip to content

Instantly share code, notes, and snippets.

@xddxdd
Created July 14, 2024 04:45
Show Gist options
  • Save xddxdd/8620df1295b9910aede0dc2025fe63cd to your computer and use it in GitHub Desktop.
Save xddxdd/8620df1295b9910aede0dc2025fe63cd to your computer and use it in GitHub Desktop.
diff --git a/units/meson.build b/units/meson.build
index bfc107e..78d3897 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -3,4 +3,4 @@ systemd_netlogd_conf = configure_file(
output : 'systemd-netlogd.service',
configuration : substs)
install_data(systemd_netlogd_conf,
- install_dir : get_option('prefix') / 'system')
+ install_dir : get_option('sysconfdir') / 'system')
diff --git a/units/systemd-netlogd.service.in b/units/systemd-netlogd.service.in
index 92b83bc..1b920bd 100644
--- a/units/systemd-netlogd.service.in
+++ b/units/systemd-netlogd.service.in
@@ -7,7 +7,7 @@ Documentation=man:systemd-netlogd(8)
After=network.target
[Service]
-ExecStart=@PKGPREFIX@/systemd-netlogd
+ExecStart=@PKGPREFIX@/bin/systemd-netlogd
WatchdogSec=20min
# hardening
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment