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/sentrum.service | 16 ---------------- contrib/systemd/sentrum.service | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 contrib/sentrum.service create mode 100644 contrib/systemd/sentrum.service (limited to 'contrib') diff --git a/contrib/sentrum.service b/contrib/sentrum.service deleted file mode 100644 index 2d27524..0000000 --- a/contrib/sentrum.service +++ /dev/null @@ -1,16 +0,0 @@ -[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 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