summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/atop.service.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/systemd/system/atop.service.d')
-rw-r--r--src/etc/systemd/system/atop.service.d/10-override.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/systemd/system/atop.service.d/10-override.conf b/src/etc/systemd/system/atop.service.d/10-override.conf
new file mode 100644
index 000000000..10df15862
--- /dev/null
+++ b/src/etc/systemd/system/atop.service.d/10-override.conf
@@ -0,0 +1,6 @@
+[Service]
+ExecStartPre=
+ExecStart=
+ExecStart=/bin/sh -c 'exec /usr/bin/atop ${LOGOPTS} -w "${LOGPATH}/atop.log" ${LOGINTERVAL}'
+ExecStartPost=
+