summaryrefslogtreecommitdiff
path: root/Components/CoreDaemon/metadata.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Components/CoreDaemon/metadata.yml')
-rw-r--r--Components/CoreDaemon/metadata.yml55
1 files changed, 55 insertions, 0 deletions
diff --git a/Components/CoreDaemon/metadata.yml b/Components/CoreDaemon/metadata.yml
new file mode 100644
index 0000000..7cea718
--- /dev/null
+++ b/Components/CoreDaemon/metadata.yml
@@ -0,0 +1,55 @@
+description: Manages launch daemons running on the system
+internal: false
+
+aliases:
+ - service
+ - systemctl
+ - rc-service
+
+manual:
+ summary: |
+ This command starts, stops, gets the status and restarts launch daemons on the system.
+
+ parameters:
+ - name: Start
+ description: Start a launch daemon
+ required: false
+
+ - name: Stop
+ description: Stop a launch daemon
+ required: false
+
+ - name: ForceStop
+ description: Force-stop a launch daemon, having it exit immediately without finishing properly
+ required: false
+
+ - name: Restart
+ description: Restart a launch daemon
+ required: false
+
+ - name: Status
+ description: Show the status of a launch daemon
+ required: false
+
+ final:
+ name: LaunchDaemon
+ description: The launch daemon to manage
+ required: false
+ multiple: false
+ command: false
+ path: false
+ daemon: true
+
+ examples:
+ - command: CoreDaemon -Restart Something
+ description: Restarts the launch daemon named Something
+
+ - command: CoreDaemon -ForceStop HangingThing
+ description: Forces the launch daemon named HangingThing to stop
+
+ - command: CoreDaemon -Status
+ description: Shows the status of all launch daemons on the system
+
+ compatibility:
+ mistyos: '>=1.2.0'
+ kernel: '>=5.10.0' \ No newline at end of file