summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorAndrii <85483797+andriiandrieiev@users.noreply.github.com>2021-11-19 13:10:42 +0200
committerAndrii <85483797+andriiandrieiev@users.noreply.github.com>2021-11-19 13:10:42 +0200
commitbfc2d162e0ca07d7d2a9fe4967690b6399057c3d (patch)
tree1f984e9c63144691440c32f2a153884807b21f0c /src/systemd
parent1353757247c027f6352000a9450b502c25c460c8 (diff)
downloadvyos-1x-bfc2d162e0ca07d7d2a9fe4967690b6399057c3d.tar.gz
vyos-1x-bfc2d162e0ca07d7d2a9fe4967690b6399057c3d.zip
filesystem: T3946: partition 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