summarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorSefa Eyeoglu2019-06-06 18:13:17 +0200
committerSefa Eyeoglu2019-06-06 18:13:17 +0200
commit6a952a6f6526f728fb4cfa09754ec192c3a4c682 (patch)
tree8ef4679ffa48d92f6b1449da15cac75d70ea72f2 /service
parent016e23d95e1ef8f878c58ae57728cd1e6b3b144d (diff)
downloadaur-6a952a6f6526f728fb4cfa09754ec192c3a4c682.tar.gz
upgpkg: gaia-hub 2.5.3-2
Fix default storage folder permissions
Diffstat (limited to 'service')
-rw-r--r--service15
1 files changed, 15 insertions, 0 deletions
diff --git a/service b/service
new file mode 100644
index 000000000000..543497839a16
--- /dev/null
+++ b/service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Gaia Hub decentralized high-performance storage system
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=gaia
+Group=gaia
+WorkingDirectory=/usr/lib/node_modules/gaia-hub
+Environment=NODE_ENV="production"
+ExecStart=/usr/bin/gaia-hub
+
+[Install]
+WantedBy=multi-user.target