remove boot-v1 support; disable user-services by default
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
description="Direktil boot operations."
|
||||
|
||||
depend()
|
||||
{
|
||||
provide net
|
||||
before sysctl
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
ebegin "Running Direktil boot operations"
|
||||
/sbin/dkl init boot
|
||||
eend $? "Direktil boot operations failed"
|
||||
}
|
||||
@ -1,16 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
description="Direktil default operations."
|
||||
|
||||
depend()
|
||||
{
|
||||
# need anything?
|
||||
:
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
ebegin "Running Direktil default operations"
|
||||
/sbin/dkl init default
|
||||
eend $? "Direktil default operations failed"
|
||||
}
|
||||
12
layer/etc/init.d/dkl-svc
Executable file
12
layer/etc/init.d/dkl-svc
Executable file
@ -0,0 +1,12 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
description="dkl: $SVCNAME"
|
||||
|
||||
supervisor=supervise-daemon
|
||||
command="/sbin/dkl logger -- /etc/direktil/services/$SVCNAME"
|
||||
|
||||
pidfile=/run/dkl-$SVCNAME.pid
|
||||
|
||||
depend()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user