1hirtectl(1) General Commands Manual hirtectl(1)
2
3
4
6 hirtectl - Simple command line tool to interact with the public D-Bus
7 API of hirte
8
9
11 hirtectl [options] command
12
13
15 A simple command line tool that uses the public D-Bus API provided by
16 hirte to manage services on all connected hirte-agents and retrieve in‐
17 formation from them.
18
19
20 hirtectl [OPTIONS]
21
22
24 --help, -h
25 Print usage statement and exit.
26
27
29 hirtectl [start|stop|restart|reload] [agent] [unit]
30 Performs one of the listed lifecycle operations on the given systemd
31 unit for the hirte-agent.
32
33
34 hirtectl [enable|disable] [agent] [unit1,...]
35 Enable/Disable the list of systemd unit files for the hirte-agent.
36
37
38 hirtectl list-units [agent]
39 Fetches information about all systemd units on the hirte-agents. If
40 [hirte-agent] is not specified, all agents are queried.
41
42
43 hirtectl monitor [agent] [unit1,unit2,...]
44 Creates a monitor on the given agent to observe changes in the speci‐
45 fied units. Wildcards * to match all agents and/or units are also sup‐
46 ported.
47
48
49 hirtectl monitor node-connection
50 Creates a monitor to observe connection state changes for all nodes.
51
52
53 Example:
54
55
56 hirtectl monitor
57
58
59 hirtectl monitor node1
60
61
62 hirtectl monitor \* dbus.service,apache2.service
63
64
65 hirtectl daemon-reload [agent]
66 Performs daemon-reload for the hirte-agent.
67
68
69 hirtectl [status] [agent] [unit1,...]
70 Fetches the status of the systemd units for the hirte-agent.
71
72
73
74 hirtectl(1)