summarylogtreecommitdiffstats
path: root/bn.service
diff options
context:
space:
mode:
Diffstat (limited to 'bn.service')
-rw-r--r--bn.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/bn.service b/bn.service
index 0d8375b8f768..b8519a0a7731 100644
--- a/bn.service
+++ b/bn.service
@@ -9,6 +9,12 @@ Group=obelisk
ExecStart=/usr/bin/bn /etc/obelisk/bn/bn.cfg
ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
ExecStop=/usr/bin/kill -s SIGINT $MAINPID
+MemoryDenyWriteExecute=true
+NoNewPrivileges=true
+PrivateDevices=true
+PrivateTmp=true
+ProtectSystem=full
+SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target