diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/domain-example.js | 7 | ||||
-rw-r--r-- | config/gathio.service | 13 |
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 |