fix systemd "Trailing garbage, ignoring." warning.

Environment should be a space-separated list instead of comma-separated.
No need for double quoting when the values don't contain spaces.
tokarchuk/v1.17
Martin van Beurden 10 years ago
parent c08baee085
commit 66d7adc3a8
  1. 2
      scripts/systemd/gogs.service

@ -14,7 +14,7 @@ Group=git
WorkingDirectory=/home/git/gogs
ExecStart=/home/git/gogs/gogs web
Restart=always
Environment="USER=git","HOME=/home/git"
Environment=USER=git HOME=/home/git
[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save