Skip to content

Instantly share code, notes, and snippets.

@sirhopcount
Forked from mgoodness/var-lib-etcd2.mount
Created April 13, 2017 13:09
Show Gist options
  • Save sirhopcount/5173eae60d3226f843924776279758a9 to your computer and use it in GitHub Desktop.
Save sirhopcount/5173eae60d3226f843924776279758a9 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