Riavviare un servizio PFSense da shell: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
Created page with "* Per riavviare un servizio (ad esempio DNS/unboud) da command line: usr/local/sbin/pfSsh.php playback svc restart unbound * The general form of the command is: pfSsh.php..."
 
mNo edit summary
 
Line 1: Line 1:
* Per riavviare un servizio (ad esempio DNS/unboud) da command line:
* Per riavviare un servizio (ad esempio DNS/unboud) da command line:
  usr/local/sbin/pfSsh.php playback svc restart unbound
  /usr/local/sbin/pfSsh.php playback svc restart unbound


* The general form of the command is:
* The general form of the command is:

Latest revision as of 10:28, 2 May 2023

  • Per riavviare un servizio (ad esempio DNS/unboud) da command line:
/usr/local/sbin/pfSsh.php playback svc restart unbound
  • The general form of the command is:
pfSsh.php playback svc <action> <service name> [service-specific options]
  • The action can be stop, start, or restart.
  • The service name is the name of the services as found under Status > Services. If the name includes a space, enclose the name in quotes.
  • The service-specific options vary depending on the service, they are used to uniquely identify services with multiple instances, such as OpenVPN or Captive Portal entries.

Riferimenti