1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-05 04:07:10 +01:00
Commit graph

15 commits

Author SHA1 Message Date
David Oberhollenzer
09115f9a97 Print status when starting a service marked as respawn
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 22:07:33 +02:00
David Oberhollenzer
8fc5b24bdd Enable sane set of default services
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 13:28:07 +02:00
David Oberhollenzer
021f091082 Use services to implement shutdown/reboot sequence
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 13:28:07 +02:00
David Oberhollenzer
0a28074071 Add System V init like killall5 helper program
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 13:11:33 +02:00
David Oberhollenzer
442ef5cedf Service command list fixup
Decode the target, no the type (and print the correct error message).

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 13:11:33 +02:00
David Oberhollenzer
a71c92b33d Unify naming of service to shorthand svc
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 12:14:06 +02:00
David Oberhollenzer
a108beaaf7 Make sure the service directory gets installed
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 03:09:24 +02:00
David Oberhollenzer
5f27cb4804 Cleanup "service list" command
- 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-25 03:00:10 +02:00
David Oberhollenzer
b9d829bc9a Cleanup command error handling in "service"
- 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-25 01:59:38 +01:00
David Oberhollenzer
f97add9041 Add file with service enum conversion functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 01:55:08 +01:00
David Oberhollenzer
9257f12e68 Build system fixes
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 01:01:11 +01:00
David Oberhollenzer
8216cedecb Add README file
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-25 01:00:00 +01:00
David Oberhollenzer
1b3b98135e Add license headers and comments to source
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 22:50:28 +01:00
David Oberhollenzer
bb9ff43ea2 Add license text
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 21:13:26 +01:00
David Oberhollenzer
9a88f7da45 Initial commit
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 17:04:20 +01:00