Message: A start job is running for after.local.service

Receiving thousands of messages stating: " A start job is running for after.local.service. "
Enabled after.local service and updated /etc/init.d/after.local.
#! /bin/sh

Copyright (c) 2010 SuSE LINUX Products GmbH, Germany. All rights reserved.

Author: Werner Fink, 2010

/etc/init.d/after.local

script with local commands to be executed from init after all scripts

of a runlevel have been executed.

Here you should add things, that should happen directly after

runlevel has been reached.

HOME=/root
export HOME
/usr/bin/vncserver :1 -fg

On 01/05/2015 16:04, mikenash wrote:
[color=blue]

Receiving thousands of messages stating: " A start job is running for
after.local.service. "
Enabled after.local service and updated /etc/init.d/after.local.
#! /bin/sh

Copyright (c) 2010 SuSE LINUX Products GmbH, Germany. All rights

reserved.

Author: Werner Fink, 2010

/etc/init.d/after.local

script with local commands to be executed from init after all scripts

of a runlevel have been executed.

Here you should add things, that should happen directly after

runlevel has been reached.

HOME=/root
export HOME
/usr/bin/vncserver :1 -fg[/color]

Which version of SUSE Linux Enterprise Server (SLES) are you using?
Please post the output from “cat /etc/*release”.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Sorry about that. I am running Suse 12.

Hi
You should be running a systemd service, have a read here and look at using the example;
https://wiki.archlinux.org/index.php/Vncserver

Thank you Malcolm, I check this and see where I made my mistake.
I initially saw this file: /usr/lib/systemd/system/after-local.service and made the mistake that it was the service I needed.
I copied this to /usr/lib/systemd/system/after.local.service and all work well.
Thanks again.