diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-24 09:57:30 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-24 09:59:57 +0100 |
commit | 985c51b440604af164576ad97175158143d22c7e (patch) | |
tree | 8557766cfd9f0005c928b5f387fe782656762b83 /contrib/systemd/sentrum.service | |
parent | 66207b704848f644a92cd79be05d6e180b09f606 (diff) | |
download | sentrum-985c51b440604af164576ad97175158143d22c7e.tar.gz sentrum-985c51b440604af164576ad97175158143d22c7e.tar.bz2 sentrum-985c51b440604af164576ad97175158143d22c7e.zip |
Move service file to contrib/systemd
Diffstat (limited to 'contrib/systemd/sentrum.service')
-rw-r--r-- | contrib/systemd/sentrum.service | 16 |
1 files changed, 16 insertions, 0 deletions
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 |