summaryrefslogtreecommitdiff
path: root/gathio.service
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2023-05-13 19:29:23 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2023-05-13 19:29:23 +0100
commit6844b5570c293e89aafe094bb7798214f2dd33a2 (patch)
tree89f6121b736b9c1f237cbee1fe992cf2ba0b467d /gathio.service
parent3ec47e9c512ebf7432a4fa139bc0478f9ba98d3b (diff)
Restore systemctl service file
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