aboutsummaryrefslogtreecommitdiff
path: root/repo/ksutils-probe-client/[email protected]
diff options
context:
space:
mode:
authorMagomeYae <[email protected]>2021-12-06 00:03:41 +0800
committerMagomeYae <[email protected]>2021-12-06 00:03:41 +0800
commit24549aeb0d9a9d43108b92e7a00a11ec5f6350ac (patch)
tree76c46cc3da47a0c2efe1913156ecab4d1d5eecfb /repo/ksutils-probe-client/[email protected]
parent13512ae341d85623786a724b90837688a0233524 (diff)
fix(pkg): Fix service name not correctly
* fix(ci): Fix build fail target not trigger correctly Signed-off-by: MagomeYae <[email protected]>
Diffstat (limited to 'repo/ksutils-probe-client/[email protected]')
-rw-r--r--repo/ksutils-probe-client/[email protected]16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/ksutils-probe-client/[email protected] b/repo/ksutils-probe-client/[email protected]
new file mode 100644
index 0000000..7b31983
--- /dev/null
+++ b/repo/ksutils-probe-client/[email protected]
@@ -0,0 +1,16 @@
+[Unit]
+Description=KunoiSayami utils Probe client service
+After=network-online.target
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=10s
+Environment="RUST_LOG=info"
+WorkingDirectory=/usr/bin/ksutils-probe-client -c %i.toml
+ExecStart=/etc/ksutils/probe-client/
+KillSignal=SIGINT
+TimeoutStopSec=10
+
+[Install]
+WantedBy=multi-user.target