Add systemd units, build & start production scripts to repo

This commit is contained in:
jvyden 2022-05-15 21:48:23 -04:00
commit 9486bde26c
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
7 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description=Project Lighthouse API - a clean-room, open-source custom server for LBP
Documentation=https://github.com/LBPUnion/ProjectLighthouse
[Service]
Type=simple
ExecStart=/srv/lighthouse/start.sh API
TimeoutStopSec=15
User=lighthouse
[Install]
Alias=lighthouse-api
WantedBy=multi-user.target