Details
-
Story
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
16.0.0
-
None
-
Security Level: Default (Default Security Scheme)
-
centos 6
Description
I found this while looking for more information (grep root in etc/ probably)
In the non-root environment this wasn't changed but there is a User=root config so it may affect something I wasn't using, or it may be deprecated and not removed.
[root@tweety etc]# cat opennms.service
[Unit]
Description=OpenNMS server
Wants=postgresql.service
Requires=network.target network-online.target
After=postgresql.service network.target network-online.target
[Service]
User=root
Type=forking
PIDFile=/var/run/opennms.pid
ExecStart=/etc/init.d/opennms -Q start
ExecStop=/etc/init.d/opennms stop
[Install]
WantedBy=multi-user.target