https://bugzilla.novell.com/show_bug.cgi?id=737524
https://bugzilla.novell.com/show_bug.cgi?id=737524#c3
--- Comment #3 from Sid Boyce 2011-12-18 14:00:22 UTC ---
sepulot:/etc/systemd/system/multi-user.target.wants # ln -s
/lib/systemd/system/apache2.service .
Now apache2 starts after a reboot.
The secret seems to be to symlink services in /lib/systemd/system/ to
/etc/systemd/
In this case the multi-user.target.wants directory pointed to in the service
file
[Install]
WantedBy=multi-user.target
sepulot:/etc/systemd/system/multi-user.target.wants # l
total 8
drwxr-xr-x 2 root root 4096 Oct 19 05:09 ./
drwxr-xr-x 10 root root 4096 Dec 18 13:17 ../
lrwxrwxrwx 1 root root 40 Oct 19 05:05 avahi-daemon.service ->
/lib/systemd/system/avahi-daemon.service
lrwxrwxrwx 1 root root 32 Oct 19 05:05 cron.service ->
/lib/systemd/system/cron.service
lrwxrwxrwx 1 root root 42 Oct 19 05:09 NetworkManager.service ->
/lib/systemd/system/NetworkManager.service
lrwxrwxrwx 1 root root 36 Oct 19 05:04 remote-fs.target ->
/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 34 Sep 10 00:10 syslog.service ->
/lib/systemd/system/syslog.service
sepulot:/etc/systemd/system/multi-user.target.wants # ln -s
/lib/systemd/system/apache2.service .
sepulot:/etc/systemd/system/multi-user.target.wants # l
total 8
drwxr-xr-x 2 root root 4096 Dec 18 13:47 ./
drwxr-xr-x 10 root root 4096 Dec 18 13:17 ../
lrwxrwxrwx 1 root root 35 Dec 18 13:47 apache2.service ->
/lib/systemd/system/apache2.service
lrwxrwxrwx 1 root root 40 Oct 19 05:05 avahi-daemon.service ->
/lib/systemd/system/avahi-daemon.service
lrwxrwxrwx 1 root root 32 Oct 19 05:05 cron.service ->
/lib/systemd/system/cron.service
lrwxrwxrwx 1 root root 42 Oct 19 05:09 NetworkManager.service ->
/lib/systemd/system/NetworkManager.service
lrwxrwxrwx 1 root root 36 Oct 19 05:04 remote-fs.target ->
/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 34 Sep 10 00:10 syslog.service ->
/lib/systemd/system/syslog.service
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.