mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 11:13:26 +00:00
fix(script): Load .env file via systemd EnvironmentFile
This commit is contained in:
@@ -521,6 +521,9 @@ User=$PULSE_USER
|
||||
Group=$PULSE_USER
|
||||
WorkingDirectory=$PULSE_DIR
|
||||
|
||||
# Load environment variables from .env file in the working directory
|
||||
EnvironmentFile=%W/.env
|
||||
|
||||
# Start command using absolute paths found earlier
|
||||
ExecStart=$node_path $npm_path run start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user