nixpkgs/pkgs/os-specific/linux/atop/atopacct.service.patch

12 lines
221 B
Diff
Raw Normal View History

--- a/atopacct.service
+++ b/atopacct.service
@@ -8,6 +8,6 @@
[Service]
Type=forking
-PIDFile=/var/run/atopacctd.pid
-ExecStart=/usr/sbin/atopacctd
+PIDFile=/run/atopacctd.pid
+ExecStart=@out@/bin/atopacctd
[Install]