summarylogtreecommitdiffstats
path: root/icecream.service
diff options
context:
space:
mode:
Diffstat (limited to 'icecream.service')
-rw-r--r--icecream.service13
1 files changed, 9 insertions, 4 deletions
diff --git a/icecream.service b/icecream.service
index b5e464f0c4f9..52ad5fcb15ef 100644
--- a/icecream.service
+++ b/icecream.service
@@ -1,10 +1,15 @@
[Unit]
-Description=icecream worker
-Wants=network.target
+Description=Icecream Distributed Compiler
+After=network.target nss-lookup.target
[Service]
-Type=forking
+Type=simple
+# Set SHELL so that icecc-create-env does not have to attempt to detect its
+# value by reading /etc/passwd. The SELinux policy does not need to allow it.
+Environment=SHELL=/bin/bash
+SyslogIdentifier=iceccd
ExecStart=/usr/lib/icecream/icecreamd
+Nice=5
[Install]
-Alias=multi-user.target.wants/icecream.service
+WantedBy=multi-user.target