From b9da8887ed7ddc0e22a890759fd86ef44fcb3081 Mon Sep 17 00:00:00 2001 From: Purnendu Date: Sun, 29 Dec 2024 07:57:12 +0530 Subject: [PATCH] some suggestion --- example/linux/systemd/talawa-api.service | 3 --- 1 file changed, 3 deletions(-) diff --git a/example/linux/systemd/talawa-api.service b/example/linux/systemd/talawa-api.service index 221edaf44c..846142e1f6 100644 --- a/example/linux/systemd/talawa-api.service +++ b/example/linux/systemd/talawa-api.service @@ -9,9 +9,6 @@ After=network.target # The type of service. 'simple' means the service will start immediately. Type=simple -# Define the project directory directly in the service file -Environment="TALAWA_API_HOME=/path/to/your/talawa-api" - # The command to start the service. This points to the Talawa-api.sh script.Here you can't use TALAWA_API_HOME from shell (~/.bashrc) as systemd will not load any variable. That's why we have to manually add it. ExecStart="${TALAWA_API_HOME}/example/linux/systemd/Talawa-api.sh"