netatop: Split out path fixing and PIDFile changes to separate patches and comment

This commit is contained in:
Paul Schyska
2021-05-16 22:07:24 +02:00
parent 563ba07543
commit 27d323d281
3 changed files with 19 additions and 10 deletions
@@ -0,0 +1,11 @@
--- a/netatop.service
+++ b/netatop.service
@@ -8,5 +8,5 @@
Type=oneshot
-ExecStartPre=/sbin/modprobe netatop
-ExecStart=/usr/sbin/netatopd
-ExecStopPost=/sbin/rmmod netatop
+ExecStartPre=@kmod@/bin/modprobe netatop
+ExecStart=@out@/bin/netatopd
+ExecStopPost=@kmod@/bin/rmmod netatop
PIDFile=/var/run/netatop.pid