| 1 |
[Unit] |
| 2 |
Description=Icecream Distributed Compiler |
| 3 |
Documentation=man:iceccd(1) |
| 4 |
After=network.target nss-lookup.target |
| 5 |
|
| 6 |
[Service] |
| 7 |
Type=simple |
| 8 |
# Set SHELL so that icecc-create-env does not have to attempt to detect its |
| 9 |
# value by reading /etc/passwd. The SELinux policy does not need to allow it. |
| 10 |
Environment=SHELL=/bin/bash |
| 11 |
SyslogIdentifier=iceccd |
| 12 |
# Running the whole unit as user icecc does not work due to insufficient |
| 13 |
# permissions. It needs at least CAPNG_EFFECTIVE and CAP_SYS_CHROOT to work |
| 14 |
# https://github.com/icecc/icecream/blob/1.4-branch/daemon/main.cpp#L2510 |
| 15 |
# So pass the ``-u icecc`` parameter to the wrapper script |
| 16 |
#User=icecc |
| 17 |
#Group=icecc |
| 18 |
ExecStart=/usr/libexec/icecc/iceccd-systemd-wrapper -u icecc |
| 19 |
|
| 20 |
[Install] |
| 21 |
WantedBy=multi-user.target |