mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 22:37:24 +00:00
chore(nix/docker/aio): we're so back
This commit is contained in:
18
nix/docker/all_in_one/init/s6-linux-init/skel/rc.shutdown.final
Executable file
18
nix/docker/all_in_one/init/s6-linux-init/skel/rc.shutdown.final
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
### Things to do *right before* the machine gets rebooted or
|
||||
### powered off, at the very end of the shutdown sequence,
|
||||
### when all the filesystems are unmounted.
|
||||
|
||||
### This is a last resort hook; normally nothing should be
|
||||
### done here (your rc.shutdown script should have taken care
|
||||
### of everything) and you should leave this script empty.
|
||||
|
||||
### Some distributions, however, may need to perform some
|
||||
### actions after unmounting the filesystems: typically if
|
||||
### an additional teardown action is required on a filesystem
|
||||
### after unmounting it, or if the system needs to be
|
||||
### pivot_rooted before it can be shut down, etc.
|
||||
|
||||
### Those are all exceptional cases. If you don't know for
|
||||
### certain that you need to do something here, you don't.
|
||||
Reference in New Issue
Block a user