summarylogtreecommitdiffstats
path: root/system.service
diff options
context:
space:
mode:
authorMaxime Poulin2016-02-12 17:29:10 -0500
committerMaxime Poulin2016-02-12 17:29:10 -0500
commitbe92c9b5c82b4bcf16c5e6709b3b10b64dfbc368 (patch)
treee4d818ad3cfe0f7c5caba928cc246e0f4722bcd0 /system.service
parent7feea122c649953f42100817843fe72efcbbf5e6 (diff)
downloadaur-shout-irc.tar.gz
Add systemd security options and remove references to build dir
Diffstat (limited to 'system.service')
-rw-r--r--system.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/system.service b/system.service
index ead49578b54e..e251a4121c22 100644
--- a/system.service
+++ b/system.service
@@ -7,6 +7,10 @@ User=shout-irc
Group=shout-irc
Type=simple
ExecStart=/usr/bin/shout-irc --home /etc/shout-irc
+ProtectSystem=yes
+ProtectHome=yes
+NoNewPrivileges=yes
+PrivateTmp=yes
[Install]
WantedBy=multi-user.target