Fix hostname in ExecStart command (#169)

This commit is contained in:
kahays 2022-04-25 00:13:22 -06:00 committed by GitHub
parent 207da15f7a
commit 5acc605ab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ Description=Agate gemini server
# and place the contents to be displayed in /srv/gemini/content # and place the contents to be displayed in /srv/gemini/content
WorkingDirectory=/srv/gemini/ WorkingDirectory=/srv/gemini/
# assumes the device hostname is set correctly # assumes the device hostname is set correctly
ExecStart=agate --hostname $(uname -n) --lang en ExecStart=/bin/sh -c "agate --hostname $(uname -n) --lang en"
Restart=always Restart=always
RestartSec=1 RestartSec=1