summarylogtreecommitdiffstats
path: root/xmpp-webhook.service.patch
diff options
context:
space:
mode:
authorSam Whited2018-12-15 09:13:44 -0600
committerSam Whited2018-12-15 09:13:44 -0600
commit1a97c42e69947fe89c9ff81b2069f2c81b237459 (patch)
treef6cac0b12130a9c77957ff4954c9f24066696944 /xmpp-webhook.service.patch
downloadaur-prometheus-xmpp-webhook-bin.tar.gz
Initial commit
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