summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-04-01 21:16:28 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-04-01 21:24:09 -0600
commitad9fb41a48ec44f67c689ef7d4ad701c8c9de1db (patch)
tree6ea46475ee9641ddb693a58771310c30cdbea66f
parentBegin migration of services to Go (diff)
downloadgo-web-services-master.tar.xz
go-web-services-master.zip
systemd: add environment variable fileHEADmaster
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--systemd/gosvc@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/gosvc@.service b/systemd/gosvc@.service
index 2ffaeaa..65196cc 100644
--- a/systemd/gosvc@.service
+++ b/systemd/gosvc@.service
@@ -5,6 +5,7 @@ After=nginx.service
[Service]
Type=simple
ExecStart=/var/www/gosvc/%i
+EnvironmentFile=-/var/www/gosvc/%i.env
#Restart=?? What should we do to make this more robust?
StandardInput=socket
StandardOutput=journal