====== Services ======
===== Auto-start and Auto-shutdown =====
* [[deb10:systemd|Services - systemd]]
* [[deb10:rclocal|Services - rc.local]]
* [[deb9:virtualbox#autostart_and_autostop|VirtualBox - Autostart and Autostop]]
* Tar (when run from /home):tar -czvf archive.tar.gz --preserve-permissions --exclude='user/subsubdir/*' directory_or_file
* Untar:tar -xvf archive.tar.gz
===== Links =====
* [[https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units|How To Use Systemctl to Manage Systemd Services and Units]]
* [[https://opensource.com/life/16/11/running-commands-shutdown-linux|How to run commands at shutdown on Linux]]
* [[https://www.2daygeek.com/how-to-avoid-or-prevent-accidental-shutdown-or-reboot-on-linux/|How to Prevent Accidental Shutdown or Reboot on Linux Using systemd Custom Service]]
* [[https://www.freedesktop.org/software/systemd/man/systemd-halt.service.html|systemd]] ([[https://manpages.debian.org/stretch/systemd/systemd.1.en.html|systemd]] in Debian is at /lib/systemd) and [[https://manpages.debian.org/stretch/systemd/systemctl.1.en.html|systemctl]]