Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Last active July 20, 2020 12:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mgoodness/d02c7f702496049a88bf to your computer and use it in GitHub Desktop.
Save mgoodness/d02c7f702496049a88bf to your computer and use it in GitHub Desktop.
Systemd unit file to mount EBS volume to /var/etc/data
[Unit]
Description=Mount EBS volume at /var/lib/etcd2
Requires=format-etcd-ebs.service
After=format-etcd-ebs.service
Before=etcd2.service
[Mount]
DirectoryMode=0777
Type=ext4
What=/dev/xvdb
Where=/var/lib/etcd2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment