netatop: Split out path fixing and PIDFile changes to separate patches and comment
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
--- a/netatop.service
|
||||
+++ b/netatop.service
|
||||
@@ -7,8 +7,8 @@
|
||||
[Service]
|
||||
Type=oneshot
|
||||
-ExecStartPre=/sbin/modprobe netatop
|
||||
-ExecStart=/usr/sbin/netatopd
|
||||
-ExecStopPost=/sbin/rmmod netatop
|
||||
@@ -11,3 +11,3 @@
|
||||
ExecStopPost=@kmod@/bin/rmmod netatop
|
||||
-PIDFile=/var/run/netatop.pid
|
||||
+ExecStartPre=@kmod@/bin/modprobe netatop
|
||||
+ExecStart=@out@/bin/netatopd
|
||||
+ExecStopPost=@kmod@/bin/rmmod netatop
|
||||
+PIDFile=/run/netatop.pid
|
||||
RemainAfterExit=yes
|
||||
|
||||
Reference in New Issue
Block a user