summaryrefslogtreecommitdiff
path: root/system/utmps/utmps.initd
diff options
context:
space:
mode:
Diffstat (limited to 'system/utmps/utmps.initd')
-rw-r--r--system/utmps/utmps.initd10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/utmps/utmps.initd b/system/utmps/utmps.initd
index 6091bbb10..1131ca199 100644
--- a/system/utmps/utmps.initd
+++ b/system/utmps/utmps.initd
@@ -1,7 +1,7 @@
#!/sbin/openrc-run
# Copyright 2022-2023 Adélie Linux
-description="boot script for the utmps wtmp and btmp services"
+description="boot script for the utmps utmp, wtmp and btmp services"
depend()
{
@@ -12,16 +12,18 @@ depend()
stop()
{
- ebegin "Stopping the utmps wtmp and btmp services"
+ ebegin "Stopping the utmps services"
s6-svc -D /run/service/btmpd
s6-svc -D /run/service/wtmpd
+ s6-svc -D /run/service/utmpd
eend $?
}
start()
{
- ebegin "Starting the utmps wtmp and btmp services"
- s6-svlisten -U " /run/service/wtmpd" " /run/service/btmpd" "" \
+ ebegin "Starting the utmps services"
+ s6-svlisten -U " /run/service/utmpd" " /run/service/wtmpd" " /run/service/btmpd" "" \
+ foreground " s6-svc" " -U" " /run/service/utmpd" "" \
foreground " s6-svc" " -U" " /run/service/wtmpd" "" \
s6-svc -U /run/service/btmpd
eend $?