25 lines
829 B
Diff
25 lines
829 B
Diff
Index: hsqldb/sample/hsqldb.service
|
|
===================================================================
|
|
--- hsqldb.orig/sample/hsqldb.service
|
|
+++ hsqldb/sample/hsqldb.service
|
|
@@ -17,6 +17,19 @@ Description=HyperSQL Database Server
|
|
After=socket.service
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
# TODO! Change these paths to point to the absolute path of the "hsqldb.init"
|
|
# script in your HyperSQL distribution:
|
|
ExecStart=/local/hsqldb-2.3.4/sample/hsqldb.init start
|