Browse Source

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.
tags/v1.21.12.1
Martin van Beurden 10 years ago
parent
commit
66d7adc3a8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/systemd/gogs.service

+ 1
- 1
scripts/systemd/gogs.service View 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

Loading…
Cancel
Save