mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
d5b8ae7a00
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
33 lines
959 B
Desktop File
33 lines
959 B
Desktop File
# 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.service )
|
|
# will be overwritten on package upgrade, please copy the file to
|
|
#
|
|
# /etc/systemd/system/milvus.service
|
|
#
|
|
# to make needed changes.
|
|
#
|
|
# systemd-delta can be used to check differences between the two milvus.service files.
|
|
#
|
|
[Unit]
|
|
Description=Milvus Standalone Server
|
|
Wants=milvus-etcd.service milvus-minio.service
|
|
Requires=milvus-etcd.service milvus-minio.service
|
|
After=network.target syslog.target milvus-etcd.service milvus-minio.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=milvus.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
StandardOutput=journal
|
|
StandardError=inherit
|
|
Restart=always
|
|
|
|
# Start main service
|
|
Environment="MILVUSCONF=/etc/milvus/configs/"
|
|
ExecStart=/usr/bin/milvus-server run standalone |