purge the word app

This commit is contained in:
Aiden McClelland
2021-09-09 12:53:37 -06:00
committed by Aiden McClelland
parent 558d4196a7
commit 0847389cd1
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?;