cli 0.1.19 add Restart=on-failure to service unit file

This commit is contained in:
beckerinj
2023-01-25 14:58:54 -05:00
parent 3c4f77cc78
commit 09dfc8faa3
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -1478,7 +1478,7 @@ dependencies = [
[[package]]
name = "monitor_cli"
version = "0.1.18"
version = "0.1.19"
dependencies = [
"async_timing_util",
"clap",

View File

@@ -1,6 +1,6 @@
[package]
name = "monitor_cli"
version = "0.1.18"
version = "0.1.19"
edition = "2021"
authors = ["MoghTech"]
description = "monitor cli | tools to setup monitor system"

View File

@@ -588,6 +588,7 @@ Description=agent to connect with monitor core
[Service]
ExecStart={home}/.monitor/bin/periphery --config-path {config_path} --home-dir {home}
Restart=on-failure
TimeoutStartSec=0
[Install]