Hi all
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?
My /lib/systemd/system/vbox.service:
[Unit] Description=Virtual Box Machines After=vboxdrv.service network.target display-manager.service
[Service] Type=forking ExecStart=/home/vmuser/./rc.virtualboxes start | /usr/bin/logger ExecStop=/home/vmuser/./rc.virtualboxes stop | /usr/bin/logger
[Install] WantedBy=graphical.target
Cheers & thx Josh
I suspect you sent this to the wrong list.
On Dec 4, 2011, at 8:45 AM, Josh Geisser josh@gebaschtel.ch wrote:
Hi all
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?
My /lib/systemd/system/vbox.service:
[Unit] Description=Virtual Box Machines After=vboxdrv.service network.target display-manager.service
[Service] Type=forking ExecStart=/home/vmuser/./rc.virtualboxes start | /usr/bin/logger ExecStop=/home/vmuser/./rc.virtualboxes stop | /usr/bin/logger
[Install] WantedBy=graphical.target
Cheers & thx Josh
--
ASG at hnet _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel
Houps sorry :)
-----Ursprüngliche Nachricht----- Von: sssd-devel-bounces@lists.fedorahosted.org [mailto:sssd-devel-bounces@lists.fedorahosted.org] Im Auftrag von Stephen Gallagher Gesendet: Sonntag, 4. Dezember 2011 15:28 An: Development of the System Security Services Daemon Cc: sssd-devel@lists.fedorahosted.org Betreff: Re: [SSSD] FC16 - how to get ExecStop= to be executed at shutdown?
I suspect you sent this to the wrong list.
On Dec 4, 2011, at 8:45 AM, Josh Geisser josh@gebaschtel.ch wrote:
Hi all
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?
My /lib/systemd/system/vbox.service:
[Unit] Description=Virtual Box Machines After=vboxdrv.service network.target display-manager.service
[Service] Type=forking ExecStart=/home/vmuser/./rc.virtualboxes start | /usr/bin/logger ExecStop=/home/vmuser/./rc.virtualboxes stop | /usr/bin/logger
[Install] WantedBy=graphical.target
Cheers & thx Josh
--
ASG at hnet _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel
sssd-devel@lists.fedorahosted.org