diff options
Diffstat (limited to 'hurrycurry-server-git/hurrycurry-registry.service')
-rw-r--r-- | hurrycurry-server-git/hurrycurry-registry.service | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hurrycurry-server-git/hurrycurry-registry.service b/hurrycurry-server-git/hurrycurry-registry.service new file mode 100644 index 0000000..bc50072 --- /dev/null +++ b/hurrycurry-server-git/hurrycurry-registry.service @@ -0,0 +1,33 @@ +[Unit] +Description=hurrycurry server registry service +After=network.target +Wants=network-online.target + +[Service] +Environment=XDG_DATA_HOME=/var/lib +ExecStart=/usr/bin/hurrycurry-registry +User=hurrycurry +LockPersonality=yes +MemoryDenyWriteExecute=yes +NoNewPrivileges=yes +PrivateDevices=true +PrivateTmp=true +ProtectClock=yes +ProtectControlGroups=yes +ProtectHome=true +ProtectHostname=yes +ProtectKernelLogs=yes +ProtectKernelModules=yes +ProtectKernelTunables=yes +ProtectSystem=full +RestrictAddressFamilies=~AF_PACKET AF_NETLINK +RestrictNamespaces=yes +RestrictSUIDSGID=yes +RestrictRealtime=yes +Restart=always +SystemCallArchitectures=native +SystemCallFilter=@system-service +Type=simple + +[Install] +WantedBy=multi-user.target |