Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12005

opennms.service in non-root environment

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.0.0
    • Fix Version/s: 29.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      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

        Attachments

          Activity

            People

            Assignee:
            ranger Benjamin Reed
            Reporter:
            esh Ken Eshelby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration