summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 20:19:28 +0100
committerGitHub <noreply@github.com>2021-11-27 20:19:28 +0100
commitbf42ec2bc04c30f85bca15472c1ad04c1366c1d3 (patch)
tree01ce9f56598efe16157f48bef10ebadf81d0dcae /src/systemd
parentf7ffdcd18f81fdc9fd3ad8c0ee5fe58903d548fa (diff)
parent1c72a0ebb69ccdffcf33f917359e3da888f8db38 (diff)
downloadvyos-1x-bf42ec2bc04c30f85bca15472c1ad04c1366c1d3.tar.gz
vyos-1x-bf42ec2bc04c30f85bca15472c1ad04c1366c1d3.zip
Merge pull request #1085 from andriiandrieiev/equuleus
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