080edd9847
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/920867 OBS-URL: https://build.opensuse.org/package/show/Java:packages/hsqldb?expand=0&rev=42
25 lines
868 B
Diff
25 lines
868 B
Diff
Index: hsqldb-2.4.1/hsqldb/sample/hsqldb.service
|
|
===================================================================
|
|
--- hsqldb-2.4.1.orig/hsqldb/sample/hsqldb.service
|
|
+++ hsqldb-2.4.1/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
|