diff options
Diffstat (limited to 'confplanner.service')
| -rw-r--r-- | confplanner.service | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/confplanner.service b/confplanner.service new file mode 100644 index 0000000..46a7872 --- /dev/null +++ b/confplanner.service @@ -0,0 +1,32 @@ +[Unit] +Description=Web application to manage conference schedules + +[Service] +User=confplanner +Restart=always +ExecStart=/usr/bin/confplanner +StateDirectory=confplanner +WorkingDirectory=/etc/confplanner + +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE +NoNewPrivileges=true +SystemCallFilter=@system-service +SystemCallErrorNumber=EPERM + +ProtectSystem=strict +ProtectHome=true +PrivateTmp=true +PrivateDevices=true +ExecPaths=/usr/bin/confplanner + +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +ProtectClock=true +RestrictRealtime=true +RestrictSUIDSGID=true + +[Install] +WantedBy=multi-user.target |
