| 1 | [Unit] |
| 2 | Description=Distccd A Distributed Compilation Server |
| 3 | After=network.target |
| 4 | |
| 5 | [Service] |
| 6 | User=distccd |
| 7 | EnvironmentFile=-/etc/default/distcc |
| 8 | ExecStart=/bin/sh -c 'if [ "$ZEROCONF" = "true" ]; then /usr/bin/distccd --daemon --no-detach --allow $ALLOWEDNETS --zeroconf; \ |
| 9 | else /usr/bin/distccd --daemon --no-detach --allow $ALLOWEDNETS --listen $LISTENER --jobs $JOBS --nice $NICE; fi' |
| 10 | |
| 11 | [Install] |
| 12 | WantedBy=multi-user.target |