summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin van Beurden <chadoe@gmail.com>2015-05-09 20:24:33 +0200
committerMartin van Beurden <chadoe@gmail.com>2015-05-09 20:24:33 +0200
commit66d7adc3a8027177bb576190e288ae8b5e6173c2 (patch)
treef245ed2182b3cebf240bc7f105ec2054dabb3bb8
parentc08baee0855807d24a1b86adfcea86d0731e2a3a (diff)
downloadgitea-66d7adc3a8027177bb576190e288ae8b5e6173c2.tar.gz
gitea-66d7adc3a8027177bb576190e288ae8b5e6173c2.zip
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.
-rw-r--r--scripts/systemd/gogs.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/systemd/gogs.service b/scripts/systemd/gogs.service
index 7436e46ae6..95567eaa96 100644
--- a/scripts/systemd/gogs.service
+++ b/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