]> source.dussan.org Git - gitea.git/commitdiff
fix systemd "Trailing garbage, ignoring." warning.
authorMartin van Beurden <chadoe@gmail.com>
Sat, 9 May 2015 18:24:33 +0000 (20:24 +0200)
committerMartin van Beurden <chadoe@gmail.com>
Sat, 9 May 2015 18:24:33 +0000 (20:24 +0200)
Environment should be a space-separated list instead of comma-separated.
No need for double quoting when the values don't contain spaces.

scripts/systemd/gogs.service

index 7436e46ae62be3b5cc0e9dcfeaa884216fb6fed4..95567eaa963fb88a4a090e87187638ef8dd1064b 100644 (file)
@@ -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