diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-db/etcd/files/etcd.service |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-db/etcd/files/etcd.service')
-rw-r--r-- | dev-db/etcd/files/etcd.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-db/etcd/files/etcd.service b/dev-db/etcd/files/etcd.service new file mode 100644 index 000000000000..6823777066d6 --- /dev/null +++ b/dev-db/etcd/files/etcd.service @@ -0,0 +1,17 @@ +[Unit] +Description=Etcd Server +After=network.target + +[Service] +Type=notify +PermissionsStartOnly=true +Environment=ETCD_DATA_DIR=/var/lib/etcd +Environment=ETCD_NAME=%m +WorkingDirectory=/var/lib/etcd/ +User=etcd +ExecStart=/usr/bin/etcd +Restart=on-failure +LimitNOFILE=65536 + +[Install] +WantedBy=default.target |