From 28f12b772bcde9da16a82ffaa6f7168e932599b4 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Mon, 6 May 2024 22:14:33 +0700 Subject: [PATCH] Use "your_user" for systemd example This will make the systemd service failed if "user" blindly copy the systemd example file. --- tools/resources/init/xmr-nodes-prober.service | 2 +- tools/resources/init/xmr-nodes-server.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/resources/init/xmr-nodes-prober.service b/tools/resources/init/xmr-nodes-prober.service index 608484e..2c9cb0f 100644 --- a/tools/resources/init/xmr-nodes-prober.service +++ b/tools/resources/init/xmr-nodes-prober.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=oneshot -User=ditatompel +User=your_user WorkingDirectory=/path/to/project/dir ExecStart=/path/to/project/dir/bin/xmr-nodes-static-linux-arm64 probe TimeoutSec=90 diff --git a/tools/resources/init/xmr-nodes-server.service b/tools/resources/init/xmr-nodes-server.service index 71eb019..806abaa 100644 --- a/tools/resources/init/xmr-nodes-server.service +++ b/tools/resources/init/xmr-nodes-server.service @@ -7,7 +7,7 @@ WantedBy=multi-user.target [Service] Type=simple -User=ditatompel +User=your_user Restart=always WorkingDirectory=/path/to/project/dir ExecStart=/path/to/project/dir/bin/xmr-nodes-static-linux-arm64 serve