summarylogtreecommitdiffstats
path: root/collectl.service
diff options
context:
space:
mode:
authorGeorge Angelopoulos2015-12-28 02:48:04 +0100
committerGeorge Angelopoulos2015-12-28 02:48:04 +0100
commit1ccfc26fd8aa70dbbc73173593eb25b10701102c (patch)
tree0e0bef23cb079322d5d73f00865389daceba2da9 /collectl.service
parenteded2ad0870936944eccd272ef3df8885824b4e7 (diff)
downloadaur-1ccfc26fd8aa70dbbc73173593eb25b10701102c.tar.gz
add systemd service
I put this together quickly and it doesn't exist in upstream.
Diffstat (limited to 'collectl.service')
-rw-r--r--collectl.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/collectl.service b/collectl.service
new file mode 100644
index 000000000000..a2bd7157d0f6
--- /dev/null
+++ b/collectl.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=collectl metric collection
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/collectl -D
+ExecReload=/bin/kill -USR1 $MAINPID
+
+[Install]
+WantedBy=multi-user.target