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
commitc5fd63e099cec30154e2a9c0b5ee7715491263bf (patch)
tree691e46f0930804e6a8ad0a234f293db917859f5a /examples/dserver.service.example
parentdaaca90c2c1c9debc339ff28c3f0b928b5041d3e (diff)
DTail: Restrict SSH MAC algorithms allowed - Update of few dependencies
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