mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
restart lxc after a snapshot
This commit is contained in:
parent
27778253e4
commit
d61590bedc
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ CREATE_LXC_SNAPSHOT () {
|
|||
sudo lxc snapshot $LXC_NAME $snapname
|
||||
fi
|
||||
|
||||
sudo lxc start --timeout 15 $LXC_NAME 2>/dev/null
|
||||
|
||||
stop_timer 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue