Mailinglist Archive: opensuse-factory (564 mails)

< Previous Next >
Re: [opensuse-factory] [RFC DRAFT] Phasing out sysvinit
On 17/12/11 16:49, Cristian Rodríguez wrote:
On 18/12/11 11:12, Sid Boyce wrote:

I enabled apache2.service in
/lib/systemd/system.preset/default-openSUSE.preset but that didn't fix ce

That for sure is the wrong place.


Success!
There is an apache2.service file in /lib/systemd/system

# ln -s /lib/systemd/system/apache2.service
/etc/systemd/system/multi-user.target.wants/
Now apache2 starts automatically on boot.
Regards
Sid.


SO, it is not a bug after all, you simple missed what systemctl enable apache2.service is all about...
It was a bug in that it wasn't automatically started as before and not a bug due to unfamiliarity with the foibles of systemd, not knowing there was a apache2.service - same thing accomplished via a different route.
# systemctl enable apache2.service
ln -s '/lib/systemd/system/apache2.service' '/etc/systemd/system/multi-user.target.wants/apache2.service'
#
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot,
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread