UDP commands
The page describes the commands supported by Liberator’s administration UDP interface.
For information on activating the UDP interface, see UDP configuration.
For information on how to send UDP commands to liberator, see Sending UDP commands to Liberator.
shutdown
Since: Liberator 7.1.1
Syntax:
-
shutdown <grace-period-end> "<reason>"
(from Liberator 7.1.1) -
shutdown <grade-period-start> <grade-period-end> "<reason>"
(from Liberator 7.1.5)
Parameter | Type | Description |
---|---|---|
|
integer/string |
The date and time of the beginning of the grace period, specified as a relative timespec (number of seconds from 'now') or an absolute timespec (a local date and time in the format |
|
integer/string |
The date and time of the end of the grace period, specified as a relative timespec (number of seconds from 'now') or an absolute timespec (a local date and time in the format |
|
string |
Descriptive text to enter in Liberator’s log. The string must be quoted. If you use
|
Initiates a graceful shutdown of Liberator. During a graceful shutdown, existing connections are still honoured, but no new client connections are accepted. Liberator will shutdown automatically either when all clients have disconnected, or at the conclusion of the grace period; whichever happens first.
StreamLink clients can subscribe to Liberator’s /SYSTEM/NOTIFY/STATE
subject to be notified when a graceful shutdown has been initiated. For more information, see Liberator system subjects.
A graceful shutdown can be initiated in two other ways:
|
Examples:
-
shutdown 3600 "Shutting down for maintenance"
-
shutdown 2018-07-01T23:59:59 "Shutting down for maintenance"
shutdown abort
Aborts a graceful shutdown. Has no effect if no graceful shutdown has been initiated.
You can also abort a graceful shutdown by executing the Java Management Extensions (JMX) operation 'shutdown-abort' on the |
Since: Liberator 7.1.1
Syntax: shutdown abort
See also: