.gitlab-ci.yml - handle artifact

This commit is contained in:
Oscar Krause
2022-12-28 21:20:19 +01:00
parent abb56be3bb
commit a02d1ab9df
5 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=FastAPI-DLS
Documentation=https://git.collinwebdesigns.de/oscar.krause/fastapi-dls
After=network.target
[Service]
Type=forking
EnvironmentFile=/etc/default/fastapi-dls
ExecStart=/usr/bin/python /opt/fastapi-dls/main.py
WorkingDir=/opt/fastapi-dls
Restart=on-abort
User=root
[Install]
WantedBy=multi-user.target