diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2023-06-21 11:26:31 +0300 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2023-06-21 11:30:42 +0300 |
| commit | 0df51a5d9bdc85397be54ee923d2a68afa6699f2 (patch) | |
| tree | f9ca5277d201ec2db68e37ae1528aed353ece9a5 /examples/dserver.service.example | |
| parent | f1242f15eb15190319a821ac2236ffa2d57db14e (diff) | |
rename samples to examples
Diffstat (limited to 'examples/dserver.service.example')
| -rw-r--r-- | examples/dserver.service.example | 19 |
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 |
