aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chibisafe-sample.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/chibisafe-sample.service b/chibisafe-sample.service
new file mode 100644
index 0000000..f6c1ed3
--- /dev/null
+++ b/chibisafe-sample.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=chibisafe, easy to use file uploader
+After=network.target
+
+[Service]
+Type=simple
+User=yourusername
+WorkingDirectory=/path/to/chibisafe
+EnvironmentFile=/path/to/chibisafe/.env
+ExecStart=/usr/bin/npm run start
+Restart=always
+
+[Install]
+WantedBy=multi-user.target