OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Restarting services & documentation
« previous next »
  • Print
Pages: [1]

Author Topic: Restarting services & documentation  (Read 5790 times)

mausy5043

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 5
    • View Profile
Restarting services & documentation
« on: February 03, 2018, 10:45:56 am »
I'm trying to figure out how to restart syslogd.
Since it is a service (and listed by service -e I thought that this would work:

Code: [Select]
$ sudo service syslogd restart
syslogd not running? (check /var/run/syslog.pid).
Starting syslogd.
syslogd: syslogd already running, pid: 7423
/etc/rc.d/syslogd: WARNING: failed to start syslogd

But apparently it doesn't.

Also using sudo pluginctl syslogd resulted in no restarting of syslogd.

Confusion...  :o

So, I'm now wondering if there is some documentation that I might have missed that lists which services, packages or plugins should be restarted in which way because there seem to be various mechanisms available with (at least to me) no apparent distinctions between the different functionalities.
Logged
:-D  Hobbyist programmer since 1986

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13671
  • Karma: 1175
    • View Profile
Re: Restarting services & documentation
« Reply #1 on: February 03, 2018, 03:26:23 pm »
Hi there,

The older the component, the less likely the chance to operate it manually. And syslogd integration probably dates back to the first days of m0n0wall. :)

I believe /usr/local/etc/rc.configure_plugins restarts it cleanly, but will also flush all settings. /etc/rc.conf is ineffective here.

New plugins and functionality uses /etc/rc.conf-like configuration with all of its benefits, but older things need to be migrated or improved upon without causing too much code churn that is hard to test. E.g.:

https://github.com/opnsense/core/issues/412


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Restarting services & documentation
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2