Skip to content

Commit

Permalink
some suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
PurnenduMIshra129th committed Dec 29, 2024
1 parent 6bdd005 commit b9da888
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions example/linux/systemd/talawa-api.service
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b9da888

Please sign in to comment.