Add support for OpenRC services (alpine/busybox) (#252)

This commit is contained in:
Karen Almog
2020-12-11 15:35:37 +01:00
committed by GitHub
parent 18c957a3dc
commit ef35c56320
5 changed files with 251 additions and 2 deletions
+9
View File
@@ -53,6 +53,15 @@ func init() {
},
new: newUpstartService,
},
linuxSystemService{
name: "linux-openrc",
detect: isOpenRC,
interactive: func() bool {
is, _ := isInteractive()
return is
},
new: newOpenRCService,
},
linuxSystemService{
name: "unix-systemv",
detect: func() bool { return true },