summaryrefslogtreecommitdiff
path: root/Components/CoreDaemon/metadata.yml
blob: 7cea718ce68c91ad2ed997b05ae35cc53fc9f830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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'