chore(config): 🔧 add systemctl service file
This commit is contained in:
parent
bddb6555ff
commit
9f29fde9ad
15
website.service
Normal file
15
website.service
Normal 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
|
Loading…
Reference in a new issue