Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
95e074768e |
5
NEWS
5
NEWS
@@ -1,10 +1,5 @@
|
|||||||
Changelog for s6-boot
|
Changelog for s6-boot
|
||||||
|
|
||||||
In 0.1.9
|
|
||||||
--------
|
|
||||||
|
|
||||||
- Bugs fix
|
|
||||||
|
|
||||||
In 0.1.8
|
In 0.1.8
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -188,7 +188,7 @@ enabled_daemon() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start_database() {
|
start_database() {
|
||||||
log "init s6-rc database with -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}"
|
log "init s6-rc database"
|
||||||
if [[ "${_UID}" == 0 ]]; then
|
if [[ "${_UID}" == 0 ]]; then
|
||||||
s6-rc-init -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}
|
s6-rc-init -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}
|
||||||
s6-rc -v 3 -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -u change All
|
s6-rc -v 3 -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -u change All
|
||||||
@@ -223,7 +223,7 @@ add() {
|
|||||||
|
|
||||||
enabled_daemon || exit 1
|
enabled_daemon || exit 1
|
||||||
|
|
||||||
s6_cmd "svscanctl" "an" "${LIVE_CLASSIC_PATH}" 2>/dev/null || exit 1
|
s6_cmd "svscanctl" "an" "${DESTUSER}/${USER}/${DESTCLASSIC}" 2>/dev/null || exit 1
|
||||||
|
|
||||||
start_database || exit 1
|
start_database || exit 1
|
||||||
}
|
}
|
||||||
|
@@ -26,6 +26,11 @@ foreground {
|
|||||||
if { s6-echo -- Cleaning /tmp directory }
|
if { s6-echo -- Cleaning /tmp directory }
|
||||||
rm -rf /tmp/
|
rm -rf /tmp/
|
||||||
}
|
}
|
||||||
|
foreground {
|
||||||
|
if -X { mountstats }
|
||||||
|
if { s6-echo Umount NFS filesystem }
|
||||||
|
umount -a -f -t nfs4
|
||||||
|
}
|
||||||
|
|
||||||
if { s6-echo -- "***************************************************************************" }
|
if { s6-echo -- "***************************************************************************" }
|
||||||
if { s6-echo -- "** Tini shutdown terminated **" }
|
if { s6-echo -- "** Tini shutdown terminated **" }
|
||||||
|
Reference in New Issue
Block a user