2021-12-28 09:52:10 +08:00
|
|
|
# Simple Milvus systemd service file
|
|
|
|
#
|
|
|
|
# systemd supports lots of fancy features, look here (and linked docs) for a full list:
|
|
|
|
# http://www.freedesktop.org/software/systemd/man/systemd.exec.html
|
|
|
|
#
|
|
|
|
# Note: this file ( /usr/lib/systemd/system/milvus-etcd.service )
|
|
|
|
# will be overwritten on package upgrade, please copy the file to
|
|
|
|
#
|
|
|
|
# /etc/systemd/system/milvus-etcd.service
|
|
|
|
#
|
|
|
|
# to make needed changes.
|
|
|
|
#
|
|
|
|
# systemd-delta can be used to check differences between the two milvus-etcd.service files.
|
|
|
|
#
|
|
|
|
[Unit]
|
|
|
|
Description=Etcd of Milvus Standalone Server
|
|
|
|
After=network.target syslog.target
|
|
|
|
PartOf=milvus.service
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
Alias=milvus-etcd.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=inherit
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
# Start main service
|
2022-05-12 15:03:53 +08:00
|
|
|
ExecStart=/usr/bin/milvus-etcd --data-dir /var/lib/milvus/etcd-data
|