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

Thu May 4 17:33:31 UTC 2017
Alexander Dalloz <ad+lists at uni-x.org>

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 /etc/systemd/system/. Easiest by "systemctl edit foo.service".