I succeeded with auto login and auto start of my Virtual Boxes, but could not get them to
do a proper shutdown.
Because of the nature of the VM processes I want to send them a proper ACPI shutdown
button instead of terminating the process, which is done through my old rc-script.
The VirtualBoxes process are started AFTER X11 is up, but must also be shutdown BEFORE the
display-manager is exited.
How do I configure this in the service file?
Description=Virtual Box Machines
After=vboxdrv.service network.target display-manager.service
ExecStart=/home/vmuser/./rc.virtualboxes start | /usr/bin/logger
ExecStop=/home/vmuser/./rc.virtualboxes stop | /usr/bin/logger
Cheers & thx
ASG at hnet