Files
upmpdcli/harden_upmpdcli.service.patch
Michael Pujos 608d226451 - each Content Directory plugin is now packaged in its own noarch package
instead of being bundled in the main package
- added upmpdcli-config package, a Qt5 config editor.
  Global upmpdcli config can be edited with command:
  xdg-su upmpdcli-config /etc/upmpdcli.conf
- fixed permission on /etc/upmpdcli.conf preventing plugins to read
  their configuration
- Update to 1.8.6

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/upmpdcli?expand=0&rev=27
2023-12-26 11:08:12 +00:00

25 lines
823 B
Diff

Index: upmpdcli-1.5.11/systemd/upmpdcli.service
===================================================================
--- upmpdcli-1.5.11.orig/systemd/upmpdcli.service
+++ upmpdcli-1.5.11/systemd/upmpdcli.service
@@ -4,6 +4,19 @@ After=network-online.target mpd.service
Wants=network-online.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=true
+ProtectHome=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=simple
# Note: if start fails check with "systemctl status upmpdcli"
ExecStart=/usr/bin/upmpdcli -c /etc/upmpdcli.conf