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

opennms.service in non-root environment

    XMLWordPrintable

Details

    • Story
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 16.0.0
    • 29.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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.