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 | d3e98fb73a5966736f9c5a9479bad27eff2cccd3 (patch) | |
| tree | f9ca5277d201ec2db68e37ae1528aed353ece9a5 /examples/dserver.service.example | |
| parent | 3e3641d85716fae2890163e7afd8d79478dae4ef (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 |
