summaryrefslogtreecommitdiff
path: root/gathio.service
diff options
context:
space:
mode:
Diffstat (limited to 'gathio.service')
-rw-r--r--gathio.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/gathio.service b/gathio.service
new file mode 100644
index 0000000..49909f0
--- /dev/null
+++ b/gathio.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Gathio
+After=network.target
+
+[Service]
+Type=simple
+User=gathio
+WorkingDirectory=/srv/gathio
+ExecStart=/usr/bin/pnpm start
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target