From be186d597532c92b321fd0ad432e3ccd0e295f15 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Wed, 3 Jan 2024 12:28:16 +0530 Subject: [PATCH] add service to expand rootfs --- scripts/expand-rootfs.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/expand-rootfs.service diff --git a/scripts/expand-rootfs.service b/scripts/expand-rootfs.service new file mode 100644 index 0000000..5e13eab --- /dev/null +++ b/scripts/expand-rootfs.service @@ -0,0 +1,10 @@ +[Unit] +Description=Expand root filesystem + +[Service] +ExecStart=$(command -v bash) /usr/local/bin/expand-rootfs.sh +Type=oneshot +User=root + +[Install] +WantedBy=default.target