aboutsummaryrefslogtreecommitdiff
path: root/servicecmd
AgeCommit message (Collapse)Author
2018-04-12Build system and directory structure cleanupDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-12Add service command that dumps the command lines of a service fileDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-11Don't split dependencies into argument vector, keep list of stringsDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-04Merge preprocessing of command linesDavid Oberhollenzer
- Common function for splitting string into argument vector - Preprocess & split command lines while parsing the service file - Specify "before" and "after" dependencies in a single line Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-04Print out respawn limit in service list commandDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25Service command list fixupDavid Oberhollenzer
Decode the target, no the type (and print the correct error message). Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25Unify naming of service to shorthand svcDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25Cleanup "service list" commandDavid Oberhollenzer
- Use newly introduced helper functions - Add command line switch to print services for specific target Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25Cleanup command error handling in "service"David Oberhollenzer
- Add helper for checking number of arguments - Add helper for printing "please read help" message Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24Add license headers and comments to sourceDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24Initial commitDavid Oberhollenzer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>