[Unit]
Description=Prometheus
After=network.target #在网络服务启动后启动
[Service]
Type=simple
ExecStart=/zdrj/prometheus/promotheus/prometheus #启动文件路径 --config.file=/zdrj/prometheus/promotheus/prometheus.yml #配置文件路径
[Install]
WantedBy=multi-user.target
相关文章
关键词:
发表评论