From 24549aeb0d9a9d43108b92e7a00a11ec5f6350ac Mon Sep 17 00:00:00 2001 From: MagomeYae <91249055+MagomeYae@users.noreply.github.com> Date: Mon, 6 Dec 2021 00:03:41 +0800 Subject: fix(pkg): Fix service name not correctly * fix(ci): Fix build fail target not trigger correctly Signed-off-by: MagomeYae <91249055+MagomeYae@users.noreply.github.com> --- repo/ksutils-probe-client/ksutils-probe-client@.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 repo/ksutils-probe-client/ksutils-probe-client@.service (limited to 'repo/ksutils-probe-client/ksutils-probe-client@.service') diff --git a/repo/ksutils-probe-client/ksutils-probe-client@.service b/repo/ksutils-probe-client/ksutils-probe-client@.service new file mode 100644 index 0000000..7b31983 --- /dev/null +++ b/repo/ksutils-probe-client/ksutils-probe-client@.service @@ -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 -- cgit v1.3.1