From e350170e5acd8c5d9a6c203291884f6b0f9120a4 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 11 Sep 2023 11:22:58 -0400 Subject: [PATCH] add service file --- sales_walk.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sales_walk.service diff --git a/sales_walk.service b/sales_walk.service new file mode 100644 index 0000000..92b7da5 --- /dev/null +++ b/sales_walk.service @@ -0,0 +1,13 @@ +[Unit] +Description=Deno API Sales Walk +After=network.target + +[Service] +ExecStart=/home/ptrowbridge/.deno/bin/deno run --allow-all /opt/sales_bridge/api.ts +WorkingDirectory=/opt/sales_bridge +Restart=always +User=ptrowbridge + +[Install] +WantedBy=multi-user.target +