From 9f29fde9aded406af8cbbaac2952e2c1853aeb75 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 28 May 2024 16:28:18 +0200 Subject: [PATCH] chore(config): :wrench: add systemctl service file --- website.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 website.service diff --git a/website.service b/website.service new file mode 100644 index 0000000..4471276 --- /dev/null +++ b/website.service @@ -0,0 +1,15 @@ +[Unit] +Description=Website Deno 1.1.1 service +Documentation=http://deno.land +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=deno +WorkingDirectory=/srv/www +ExecStart=/usr/local/bin/deno task prod +Restart=on-failure + +[Install] +WantedBy=multi-user.target