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-25 14:26:39 +0200
commit86924ce3727aa7fe5caca248792874d221ae65cf (patch)
tree1b020c52733ae2993cd53e57f9443e9fd23f7416 /src/systemd
parentaf1cfebaff5e98cf0e50325863def209f965abd4 (diff)
downloadvyos-1x-86924ce3727aa7fe5caca248792874d221ae65cf.tar.gz
vyos-1x-86924ce3727aa7fe5caca248792874d221ae65cf.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