diff options
author | Andrii <85483797+andriiandrieiev@users.noreply.github.com> | 2021-11-19 13:10:42 +0200 |
---|---|---|
committer | Andrii <85483797+andriiandrieiev@users.noreply.github.com> | 2021-11-19 13:10:42 +0200 |
commit | bfc2d162e0ca07d7d2a9fe4967690b6399057c3d (patch) | |
tree | 1f984e9c63144691440c32f2a153884807b21f0c /src/systemd | |
parent | 1353757247c027f6352000a9450b502c25c460c8 (diff) | |
download | vyos-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.service | 12 |
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 |