mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 09:49:35 +02:00
distcc: add systemd support
Add systemd support for distcc. These unit files mainly use the same files in Fedora 20 as a reference. [YOCTO #4420] (From OE-Core rev: baae0b0e8786e26b60e17c4febd57ca1915f1e55) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -17,3 +17,8 @@ STARTDISTCC="true"
|
||||
# ALLOWEDNETS="127.0.0.1"
|
||||
|
||||
ALLOWEDNETS="192.168.7.0/24"
|
||||
|
||||
#
|
||||
# OPTIONS is used for the systemd service file
|
||||
#
|
||||
OPTIONS="--allow 192.168.7.0/24"
|
||||
|
||||
11
meta/recipes-devtools/distcc/files/distccd.service
Normal file
11
meta/recipes-devtools/distcc/files/distccd.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Distccd A Distributed Compilation Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=distcc
|
||||
EnvironmentFile=-/etc/default/distcc
|
||||
ExecStart=@BINDIR@/distccd --verbose --no-detach --daemon $OPTIONS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user