Contributing systemd startup file for OTRS 5

Marc Baudoin <[email protected]> Mon, 31 Aug 2015 15:52:49 +0200
Newsgroups gmane.comp.otrs.devel
Message-ID <[email protected]>
--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I've noticed the OTRS-issued RHEL 7 RPM file for version 5 beta
does not contain a startup file for systemd
(/usr/lib/systemd/system/otrs.service).  I've attached my attempt
at it, feel free to include it in the RPM package if you're OK
with it (or modify it if it's not good enough).

--=20
Marc Baudoin <[email protected]>
adjoint du responsable du service op=C3=A9rations
Witbe - http://www.witbe.net/fr/

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset="utf-8"
Content-Disposition: attachment; filename="otrs.service"

[Unit]
Description=OTRS Help Desk.
After=network.target

[Service]
Type=forking
User=otrs
Group=apache
ExecStart=/opt/otrs/bin/otrs.Daemon.pl start
ExecStop=/opt/otrs/bin/otrs.Daemon.pl stop

[Install]
WantedBy=multi-user.target

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
--C7zPtVaVf+AK4Oqc--