From 985c51b440604af164576ad97175158143d22c7e Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 24 Apr 2024 09:57:30 +0100 Subject: Move service file to contrib/systemd --- contrib/systemd/sentrum.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 contrib/systemd/sentrum.service (limited to 'contrib/systemd') diff --git a/contrib/systemd/sentrum.service b/contrib/systemd/sentrum.service new file mode 100644 index 0000000..2d27524 --- /dev/null +++ b/contrib/systemd/sentrum.service @@ -0,0 +1,16 @@ +[Unit] +Description=sentrum daemon + +[Service] +ExecStart=/usr/bin/sentrum +User=sentrum + +# Hardening +PrivateTmp=true +ProtectSystem=full +NoNewPrivileges=true +PrivateDevices=true +MemoryDenyWriteExecute=true + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2