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.
|
6 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
|
8 years ago |
Davin McCall
|
1e494a9be7
Remove some explicit memory deallocation in favor of using unique_ptr.
|
8 years ago |
Davin McCall
|
bc759e0e9e
Use delete[] to delete buffers allocated via new[]
|
8 years ago |
Davin McCall
|
890836c96e
Add support for unpin command in dinitctl (includes corresponding
|
8 years ago |
Davin McCall
|
4c5dcca3a4
Add support for pinning services to dinitctl
|
8 years ago |
Davin McCall
|
60486135a2
Various changes to match changes to command protocol.
|
8 years ago |
Davin McCall
|
200cbb5b4f
Fix "skip to reply packet" method.
|
8 years ago |
Davin McCall
|
aa71ea68bc
Fix protocol errors in dinitctl
|
8 years ago |
Davin McCall
|
212adde075
Make sure to not write a partial command packet.
|
8 years ago |
Davin McCall
|
7482f3539e
dinitctl: recognize and report FAILEDSTART events.
|
8 years ago |
Davin McCall
|
69a6aeeb79
Make "dinitctl start" start a service and "dinitctl stop" stop a
|
8 years ago |
Davin McCall
|
e60a3d4056
Change command line and implement stopping of services in dinitctl.
|
8 years ago |
Davin McCall
|
814e1af776
Rename dinit-start to dinitctl, as I think one command for service
|
8 years ago |