Add example Linux service

This commit is contained in:
Troplo 2020-10-01 17:40:15 +10:00
parent 0cf9f72d3f
commit e42e61f3ec
2 changed files with 14 additions and 0 deletions

12
kaverti-example.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Kaverti Service
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/kaverti/website
ExecStart=/home/kaverti/website/start.sh
User=kaverti
Group=kaverti
[Install]
WantedBy=multi-user.target

2
start.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
node .