purge the word app

This commit is contained in:
Aiden McClelland
2021-09-09 12:53:37 -06:00
parent 4664e0ce35
commit e4e2fbce8d
7 changed files with 18 additions and 18 deletions

View File

@@ -71,9 +71,14 @@ async fn init(cfg_path: Option<&str>) -> Result<(), Error> {
.arg(&tmp_docker)
.invoke(embassy::ErrorKind::Filesystem)
.await?;
Command::new("systemctl")
.arg("stop")
.arg("docker")
.invoke(embassy::ErrorKind::Journald)
.await?;
embassy::disk::util::bind(&tmp_docker, "/var/lib/docker", false).await?;
Command::new("systemctl")
.arg("restart")
.arg("start")
.arg("docker")
.invoke(embassy::ErrorKind::Journald)
.await?;