summarylogtreecommitdiffstats
path: root/markdump.service
diff options
context:
space:
mode:
Diffstat (limited to 'markdump.service')
-rw-r--r--markdump.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/markdump.service b/markdump.service
new file mode 100644
index 000000000000..c3a2e0ff8120
--- /dev/null
+++ b/markdump.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=markdump
+After=network.target
+
+[Service]
+Type=simple
+User=markdump
+Group=markdump
+PrivateDevices=true
+PrivateIPC=true
+PrivateTmp=true
+ProtectControlGroups=true
+ProtectKernelTunables=true
+ProtectSystem=strict
+ReadWritePaths=/var/lib/markdump
+RuntimeDirectory=markdump
+EnvironmentFile=/etc/markdump/markdump.conf
+ExecStart=/usr/bin/markdump
+
+[Install]
+WantedBy=multi-user.target