summarylogtreecommitdiffstats
path: root/xmpp-webhook.service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-webhook.service.patch')
-rw-r--r--xmpp-webhook.service.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/xmpp-webhook.service.patch b/xmpp-webhook.service.patch
new file mode 100644
index 00000000000..90412307273
--- /dev/null
+++ b/xmpp-webhook.service.patch
@@ -0,0 +1,23 @@
+5a6,8
+> User=xmppwebhook
+> Group=xmppwebhook
+> Type=simple
+7c10
+< ExecStart=/usr/local/bin/xmpp-webhook
+---
+> ExecStart=/usr/bin/xmpp-webhook
+9c12,23
+< RestartSec=30
+---
+> RestartSec=30s
+> NoNewPrivileges=true
+> PrivateUsers=true
+> PrivateDevices=true
+> PrivateTmp=true
+> ProtectHome=true
+> ProtectSystem=strict
+> ProtectControlGroups=yes
+> ProtectKernelTunables=true
+> ProtectKernelModules=yes
+> LockPersonality=true
+> MemoryDenyWriteExecute=true