summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTom Parker-Shemilt <palfrey@tevp.net>2020-01-07 09:38:25 +0000
committerTom Parker-Shemilt <palfrey@tevp.net>2020-01-07 09:38:25 +0000
commitbb0f9160de2b02fd1a13f40f7702893238b3fe04 (patch)
tree4c9e70b458baaab4e9cdb49a5992e9af25ea0bce /config
parentae5e25d7d8a1edac542adf5e5510105aca76c0d9 (diff)
parentc5835cbdbcfe3abda637e298a89b36ebb058c22a (diff)
Merge branch 'master' into docker-travis
Diffstat (limited to 'config')
-rw-r--r--config/domain-example.js7
-rw-r--r--config/gathio.service13
2 files changed, 20 insertions, 0 deletions
diff --git a/config/domain-example.js b/config/domain-example.js
new file mode 100644
index 0000000..3b77197
--- /dev/null
+++ b/config/domain-example.js
@@ -0,0 +1,7 @@
+module.exports = {
+ // Your domain goes here. If there is a port it should be 'domain:port', but otherwise just 'domain'
+ 'domain' : 'localhost:3000' ,
+ 'port': '3000',
+ 'email': 'contact@example.com',
+ 'sitename': 'gathio'
+};
diff --git a/config/gathio.service b/config/gathio.service
new file mode 100644
index 0000000..447d44f
--- /dev/null
+++ b/config/gathio.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=GathIO
+After=network.target
+
+[Service]
+Type=simple
+User=gathio
+WorkingDirectory=/srv/gathio
+ExecStart=/usr/bin/npm start
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target