summaryrefslogtreecommitdiff
path: root/examples/dserver.service.example
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2023-06-21 10:56:41 +0000
committerPaul Buetow <pbuetow@mimecast.com>2023-06-21 10:56:41 +0000
commitc1aa5b1e52734e2498af1e8e616e1f8842b5f7f0 (patch)
tree691e46f0930804e6a8ad0a234f293db917859f5a /examples/dserver.service.example
parent2961390ac9fbe9657b5df231e005db34133834fe (diff)
parent552702e5f7cd36824a5982419488f960611a9a80 (diff)
Merge branch 'develop' into 'master'
DTail: Restrict SSH MAC algorithms allowed - Update of few dependencies See merge request Storage/dtail!7
Diffstat (limited to 'examples/dserver.service.example')
-rw-r--r--examples/dserver.service.example19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/dserver.service.example b/examples/dserver.service.example
new file mode 100644
index 0000000..c5e5e59
--- /dev/null
+++ b/examples/dserver.service.example
@@ -0,0 +1,19 @@
+[Unit]
+Description=DTail server
+After=network.target
+
+[Service]
+Slice=dserver.slice
+User=dserver
+Group=dserver
+ExecStart=/usr/local/bin/dserver -cfg /etc/dserver/dtail.json
+WorkingDirectory=/var/run/dserver
+NoNewPrivileges=true
+PrivateDevices=true
+PrivateTmp=true
+CPUAccounting=true
+MemoryAccounting=true
+BlockIOAccounting=true
+
+[Install]
+WantedBy=multi-user.target