chore(config): 🔧 add systemctl service file

This commit is contained in:
Julien Oculi 2024-05-28 16:28:18 +02:00
parent bddb6555ff
commit 9f29fde9ad

15
website.service Normal file
View file

@ -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