summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-21 18:23:07 +0100
committerGitHub <noreply@github.com>2021-11-21 18:23:07 +0100
commit30c8f7d087cca0f7b52485ea283536de53a06f3c (patch)
treec687ffb5666300f2b5d79dd4464a90774ea2995d /src/systemd
parent39d8f0a4c6d448e20c87df35cf7fd8ba0c8e19c5 (diff)
parentbfc2d162e0ca07d7d2a9fe4967690b6399057c3d (diff)
downloadvyos-1x-30c8f7d087cca0f7b52485ea283536de53a06f3c.tar.gz
vyos-1x-30c8f7d087cca0f7b52485ea283536de53a06f3c.zip
Merge pull request #1072 from andriiandrieiev/current
filesystem: T3946: root partition auto resize as a service
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/root-partition-auto-resize.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/systemd/root-partition-auto-resize.service b/src/systemd/root-partition-auto-resize.service
new file mode 100644
index 000000000..a57fbc3d8
--- /dev/null
+++ b/src/systemd/root-partition-auto-resize.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=VyOS root partition auto resizing
+After=multi-user.target
+
+[Service]
+Type=oneshot
+User=root
+Group=root
+ExecStart=/usr/libexec/vyos/op_mode/force_root-partition-auto-resize.sh
+
+[Install]
+WantedBy=vyos.target \ No newline at end of file