From 618fe09026ea7bf7332318be425dbf44eac5da74 Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Sat, 30 Mar 2024 15:46:23 +0000 Subject: [PATCH] fix: typo mistake --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ebf2318..5343e53 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( "github.com/swiftwave-org/stats_ninja/service" ) -var serviceName = "swiftwave_stats_ninja" +var serviceName = "swiftwave-stats-ninja" var serviceTemplate = ` [Unit] @@ -25,7 +25,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/bin/swiftwave_stats_ninja run +ExecStart=/usr/bin/swiftwave-stats-ninja run Environment="SWIFTWAVE_STATS_NINJA_ENDPOINT={{.Endpoint}}" "SWIFTWAVE_STATS_NINJA_AUTH_TOKEN={{.AuthToken}}" Restart=on-failure RestartSec=10