w2v-server: include hostname in hypnotoad pip_file
This allows for running w2v-server on multiple hosts.
diff --git a/w2v-dereko-2021-I.conf b/w2v-dereko-2021-I.conf
index 3c856ea..d803531 100644
--- a/w2v-dereko-2021-I.conf
+++ b/w2v-dereko-2021-I.conf
@@ -3,7 +3,7 @@
listen => ['http://*:5673'],
trusted_proxies => ['10.0/8', '127.0.0.1'],
proxy => 1,
- pid_file => 'w2v-dereko-2021-i.pid',
+ pid_file => 'w2v-dereko-2021-i.'. `hostname -s | tr -d "\n"` .'.pid',
workers => 4
},
@@ -14,7 +14,6 @@
w2v => {
vecs => "/vol/work/kupietz/Work2/kl/trunk/Analysemethoden/word2vec/models/dereko-2021-i.vecs"
-# vecs => "/vol/work/kupietz/Work2/kl/trunk/Analysemethoden/word2vec/models/dereko-2020-ii.vecs"
},
Piwik => {