Created
April 22, 2020 14:55
-
-
Save tasdikrahman/d064d35d734d802e80a20e5138c839b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Run etcdctl defrag | |
Documentation=https://etcd.io/docs/v3.3.12/op-guide/maintenance/#defragmentation | |
After=network.target | |
[Service] | |
Type=oneshot | |
Environment="LOG_DIR=/var/log" | |
Environment="ETCDCTL_API=3" | |
ExecStart=/usr/bin/etcdctl defrag | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment