This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 3a27f06 fix for last commit (2) new e96e964 x2goserver.spec: More systemd integration for SUSE. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: x2goserver.spec | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit e96e9645115dd8ad4ac323809b46f820838688c7 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Oct 14 06:10:04 2014 +0200 x2goserver.spec: More systemd integration for SUSE. --- x2goserver.spec | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/x2goserver.spec b/x2goserver.spec index 81a1239..380300b 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -70,6 +70,9 @@ Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %endif +%if 0%{?suse_version} >= 1210 +%{?systemd_requires} +%endif Requires: x2goserver-extensions Requires: x2goserver-xsession #Recommands: x2goserver-fmbindings @@ -373,14 +376,30 @@ if grep -E "^backend=sqlite.*" /etc/x2go/x2gosql/sql 1>/dev/null 2>/dev/null; th fi %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210 +%if 0%{?fedora} || 0%{?rhel} >= 7 %systemd_post x2goserver.service +%pre +%systemd_pre x2goserver.service + %preun %systemd_preun x2goserver.service %postun %systemd_postun x2goserver.service %else +%service_add_post x2goserver.service + +%pre +%service_add_pre x2goserver.service + +%preun +%service_add_preun x2goserver.service + +%postun +%service_add_postun x2goserver.service +%endif +%else /sbin/chkconfig --add x2goserver /sbin/service x2goserver condrestart >/dev/null 2>&1 || : -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git