Re: [systemd-devel] VirtualBox VM as a unit failures

2022-09-01 Thread Silvio Knizek
Am Donnerstag, dem 01.09.2022 um 19:17 -0300 schrieb Sergio Belkin: > > > > El jue, 1 sept 2022 a las 16:22, Silvio Knizek > () escribió: > > Am Donnerstag, dem 01.09.2022 um 14:59 -0300 schrieb Sergio Belkin: > > > > > > This is the unit file: > > > [Unit] > > > Description=VirtualBox VM %i >

[systemd-devel] SRe: VirtualBox VM as a unit failures

2022-09-01 Thread Colin Guthrie
Hi, When you have an ExecStop, it's meant to synchronously stop all processes. Anything left once it exits, systemd considers fair game for killing! So chances are, the ExecStop runs and tells the machine the power button was pressed. This command exits almost immediately and before the mac

Re: [systemd-devel] VirtualBox VM as a unit failures

2022-09-01 Thread Silvio Knizek
Am Donnerstag, dem 01.09.2022 um 14:59 -0300 schrieb Sergio Belkin: > > This is the unit file: > [Unit] > Description=VirtualBox VM %i > After=network.target vboxdrv.service > Before=runlevel2.target shutdown.target > > [Service] > Type=forking > Restart=no > TimeoutSec=5min > IgnoreSIGPIPE=no >

[systemd-devel] VirtualBox VM as a unit failures

2022-09-01 Thread Sergio Belkin
Hi, I,m triying to configure an user-level unit for a VirtualBox VM, but it does not work well, when I stop, it complains: systemctl --user status vbox_vm_start@RHEL7.service â—‹ vbox_vm_start@RHEL7.service - VirtualBox VM RHEL7 Loaded: loaded (/home/sergio/.config/systemd/user/vbox_vm_start@.