fix: move env var from ExecStart to Environment

This commit is contained in:
Julien Oculi 2024-06-04 17:16:51 +02:00
parent 19f0c777ee
commit ad952ce87e

View file

@ -8,7 +8,8 @@ After=network-online.target
Type=simple Type=simple
User=deno User=deno
WorkingDirectory=/srv/portfolio WorkingDirectory=/srv/portfolio
ExecStart=PORT=6363 /usr/local/bin/deno task serve Environment=PORT=6363
ExecStart=/usr/local/bin/deno task serve
Restart=on-failure Restart=on-failure
[Install] [Install]