Add support for OpenRC services (alpine/busybox) (#252)
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user