-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit b3c0da3) Co-authored-by: Philipp Trulson <[email protected]>
- Loading branch information
1 parent
2499df3
commit 40f13dd
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
anda/devs/kvrocks/0001-Change-path-in-systemd-service-to-use-package-binary.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 518d106d6d54bc65d37116e3c5bc940b5c93fb0e Mon Sep 17 00:00:00 2001 | ||
From: Philipp Trulson <[email protected]> | ||
Date: Tue, 13 Aug 2024 10:22:14 +0200 | ||
Subject: [PATCH] Change path in systemd service to use package binary | ||
|
||
--- | ||
utils/systemd/kvrocks.service | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/utils/systemd/kvrocks.service b/utils/systemd/kvrocks.service | ||
index c0180b7c..17482b7a 100644 | ||
--- a/utils/systemd/kvrocks.service | ||
+++ b/utils/systemd/kvrocks.service | ||
@@ -6,7 +6,7 @@ After=network-online.target | ||
|
||
[Service] | ||
Type=notify | ||
-ExecStart=/usr/local/bin/kvrocks -c /etc/kvrocks/kvrocks.conf | ||
+ExecStart=/usr/bin/kvrocks -c /etc/kvrocks/kvrocks.conf | ||
Restart=on-failure | ||
ExecStop=/bin/kill -s TERM $MAINPID | ||
RestartSec=10s | ||
-- | ||
2.45.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters