From b075ddb1dc052ef007cb672e506f2532a4001b9a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 4 Feb 2014 17:27:19 +0000 Subject: distcc: rename systemd service to distcc The sysv init script is called distcc, so rename the service to match so that in hybrid systemd/sysvinit images the service correctly masks the init script. This prevents such images from failing to start the distccd unit with error code 102, as the ports it wants to bind to are already taken. (From OE-Core rev: ee58b618ec68c02b3e8759086e1dcc45c1fe3970) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/distcc/files/distcc.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/recipes-devtools/distcc/files/distcc.service (limited to 'meta/recipes-devtools/distcc/files/distcc.service') diff --git a/meta/recipes-devtools/distcc/files/distcc.service b/meta/recipes-devtools/distcc/files/distcc.service new file mode 100644 index 0000000000..0253ddf52a --- /dev/null +++ b/meta/recipes-devtools/distcc/files/distcc.service @@ -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 -- cgit v1.2.3-54-g00ecf