Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 813767] Systemd does not work with LSB scripts for Open-Xchange 6.22

https://bugzilla.novell.com/show_bug.cgi?id=813767

https://bugzilla.novell.com/show_bug.cgi?id=813767#c12


--- Comment #12 from Ralph Moenchmeyer <rm@xxxxxxxxxx> 2013-06-02 10:50:14 UTC
---
(In reply to comment #8)

Please install this file in /etc/systemd/system and run:
systemctl daemon-reload
systemctl enable open-xchange.service

and then test systemctl start open-xchange.service

I assume that by "install" you mean just copy the file to /etc/system.d/system
as "open-xchange.service". Which I did - plus:

# systemctl daemon-reload
# systemctl enable open-xchange.service

This ended with

# systemctl enable open-xchange
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).

Indeed your service-file lacks an "install" section. Enabling the service with
YaST2 (for a start at boottime) does not work either.

I assume that therefore the service cannot be started with systemd despite your
file. The status again is stopped after booting. Any suggestions to remedy
that?


However, on a running system

# systemctl start open-xchange.service

works as expected - which is already progress.

--
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.

< Previous Next >