Focus server service

This commit is contained in:
Brieuc Dubois 2024-01-14 02:06:43 +01:00
parent 5ed251b816
commit 3883455530
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,6 @@
*.sqlite *.sqlite
Dockerfile Dockerfile
docker-compose.yaml docker-compose.yaml
.dockerignore .dockerignore
PKGBUILD
focus-server.service

View File

@ -0,0 +1,12 @@
[Unit]
Description=Start focus server
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/focus-server
Environment=DB_PATH=/var/lib/focus-server/db.sqlite
Restart=on-failure
[Install]
WantedBy=multi-user.target