Davin McCall
|
337a9b8a10
dinitctl: unload: issue a specialised message if service not loaded.
|
6 years ago |
Davin McCall
|
df067239f1
dinitctl: fix incorrect exit status if start/stop fails to load service.
|
6 years ago |
Davin McCall
|
1ef9df5249
dinitctl: give an error message if unrecognized option/command given.
|
6 years ago |
Davin McCall
|
d5ea816ef6
Avoid multiple cout statements when printing help.
|
6 years ago |
Davin McCall
|
df6cb465e1
dinitctl: add rm-dep subcommand to remove dependencies.
|
6 years ago |
Davin McCall
|
601fd527c6
dinitctl: add-dep subcommand, adds dependency between services.
|
6 years ago |
Davin McCall
|
2cedd9854e
dinitctl: fix spacing in output.
|
6 years ago |
Davin McCall
|
feb73936a7
dinitctl: fix includes for FreeBSD.
|
6 years ago |
Davin McCall
|
50369e9dc9
dinitctl: show if service was skipped or failed.
|
6 years ago |
Davin McCall
|
b74e67c450
Define constants for supported control protocol versions.
|
6 years ago |
Davin McCall
|
7838528da7
dinitctl: show process id and console state in service list.
|
6 years ago |
Davin McCall
|
0d26b330e3
Refactoring in utilities.
|
6 years ago |
Davin McCall
|
e08729d5fe
dinitctl: query protocol version at beginning + refactoring.
|
6 years ago |
Davin McCall
|
5360d84c8c
Factor out some Dinit client functions tp a new header (dinit-client.h).
|
6 years ago |
Davin McCall
|
742adcb8a9
Implement service unloading.
|
6 years ago |
Davin McCall
|
754d6037c3
Add "shutdown" subcommand to dinitctl.
|
6 years ago |
Davin McCall
|
1fb468f7ce
Fix error in control protocol implementation in dinitctl/shutdown.
|
6 years ago |
Davin McCall
|
981e094c7f
dinitctl: various renaming from camelCase
|
6 years ago |
Davin McCall
|
16fe697820
Various minor cleanups.
|
7 years ago |
Davin McCall
|
9e4907551c
dinitctl: clean up a TODO.
|
7 years ago |
Davin McCall
|
a65509aebe
Rename ServiceState to service_state_t.
|
7 years ago |
Davin McCall
|
fff223cfc2
Rename various classes/functions for consistency.
|
7 years ago |
Davin McCall
|
4319a11c6e
Add release/wake commands to dinitctl
|
8 years ago |
Davin McCall
|
b92fb6ffeb
Implement "list services" command in control protocol, and use it in
|
8 years ago |
Davin McCall
|
5b7c108e02
Large refactoring of dinitctl.
|
8 years ago |
Davin McCall
|
71c9a09f5b
Ignore SIGPIPE.
|
8 years ago |
Davin McCall
|
10bb455b38
Fix style inconsistency in CPBuffer: fillTo -> fill_to
|
8 years ago |
Davin McCall
|
de2a32be7b
Make CPBuffer a template, parameterized by buffer size
|
9 years ago |
Davin McCall
|
1e494a9be7
Remove some explicit memory deallocation in favor of using unique_ptr.
|
9 years ago |
Davin McCall
|
bc759e0e9e
Use delete[] to delete buffers allocated via new[]
|
9 years ago |