first pass

This commit is contained in:
2025-11-29 14:50:33 -05:00
parent cf3015638a
commit 0bfab0bdc8
10 changed files with 631 additions and 0 deletions

16
service.template Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Deployment of $host (on port $port, from $repo/$branch:$commitHash) [$deploymentId]
After=network.target
[Service]
Type=simple
Environment="PORT=$port"
ExecStart=make start
User=drm
WorkingDirectory=$serviceDir/src
Restart=no
StandardOutput=file:$logsDir/start.log
StandardError=file:$logsDir/start.log
[Install]
WantedBy=multi-user.target