Re: [CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Paul Heinlein
On Thu, 4 May 2017, Alexander Dalloz wrote: Am 04.05.2017 um 18:35 schrieb Paul Heinlein: The second method is to add an ExecStartPre to /usr/lib/systemd/system/tomcat.service, e.g., Sorry, no. Better not touch the service files in /usr/lib/systemd/system which ship with the associated

Re: [CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Alexander Dalloz
Am 04.05.2017 um 18:35 schrieb Paul Heinlein: The second method is to add an ExecStartPre to /usr/lib/systemd/system/tomcat.service, e.g., Sorry, no. Better not touch the service files in /usr/lib/systemd/system which ship with the associated packages. You create user custom service files in

Re: [CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Paul Heinlein
On Thu, 4 May 2017, Jason Welsh wrote: hey folks, we are migrating our tomcat setup over to centos 7. Im converting init-scripts over to systemd services and whatnot.. One thing that Ive noticed is that my systemd startup script cant seem to write to /var/run as a non-root user to drop a

[CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Jason Welsh
hey folks, we are migrating our tomcat setup over to centos 7. Im converting init-scripts over to systemd services and whatnot.. One thing that Ive noticed is that my systemd startup script cant seem to write to /var/run as a non-root user to drop a pidfile.. If I create a directory in