summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot2017-03-03 14:50:36 +0100
committerEmmanuel Gil Peyrot2017-03-03 14:50:36 +0100
commit09055fb9508e73205695c77fcd873364e3e049b1 (patch)
treebd6e3c851ec8ec5d9d4c6220e6d3b555b3471fe9
parent064f9c5703c21b7a48454ff042d6990c8c6184b7 (diff)
downloadaur-09055fb9508e73205695c77fcd873364e3e049b1.tar.gz
Add the interface option to the configuration file.
-rw-r--r--movim.env1
-rw-r--r--movim.service2
2 files changed, 2 insertions, 1 deletions
diff --git a/movim.env b/movim.env
index 5ac768a9fb07..9f4907cacd68 100644
--- a/movim.env
+++ b/movim.env
@@ -1,2 +1,3 @@
MOVIM_URL=https://pod.example.org
MOVIM_PORT=8080
+MOVIM_INTERFACE=::1
diff --git a/movim.service b/movim.service
index de54fbbeee3e..2cbf2e25e62d 100644
--- a/movim.service
+++ b/movim.service
@@ -7,7 +7,7 @@ User=http
WorkingDirectory=/usr/share/webapps/movim
EnvironmentFile=/etc/default/movim
ExecStartPre=/usr/bin/php mud.php db --set
-ExecStart=/usr/bin/php daemon.php start --url=${MOVIM_URL} --port=${MOVIM_PORT}
+ExecStart=/usr/bin/php daemon.php start --url=${MOVIM_URL} --port=${MOVIM_PORT} --interface=${MOVIM_INTERFACE}
Restart=always
[Install]