Re: [CentOS] systemd service configuration

2014-10-12 Thread Alan Stern
On Sun, 12 Oct 2014, James Hogarth wrote: > On 12 Oct 2014 05:20, "Igal @ getRailo.org" wrote: > > > > does adding a /lib/systemd/system/{unit}.service all I need in order to > > add a service? > > > > Yes but for service files that have not been introduced through package > management (ie rpm)

Re: [CentOS] systemd service configuration

2014-10-12 Thread James Hogarth
On 12 Oct 2014 05:20, "Igal @ getRailo.org" wrote: > > does adding a /lib/systemd/system/{unit}.service all I need in order to > add a service? > Yes but for service files that have not been introduced through package management (ie rpm) the proper location is /etc/systemd/system Note that any f

[CentOS] systemd service configuration

2014-10-11 Thread Igal @ getRailo.org
does adding a /lib/systemd/system/{unit}.service all I need in order to add a service? see example file for Tomcat that I plan to add at https://github.com/wichtounet/systemd-unit-files/blob/master/tomcat.service are any special permissions required for that file (execute)? TIA, Igal ___