move *.service files to subdirectory container and add service file for standalone operations in standalone

This commit is contained in:
Thomas Peetz
2026-05-04 15:02:41 +02:00
parent b256e20491
commit d8914627a3
14 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."
echo "==> Setting up systemd user services" echo "==> Setting up systemd user services"
cp service/*.service $HOME/.config/systemd/user/ cp service/container/*.service $HOME/.config/systemd/user/
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=kontor-api via UV
After=network.target
[Service]
Type=simple
User=tpeetz
Group=tpeetz
WorkingDirectory=/home/tpeetz/projects/kontor/kontor-api
ExecStart=/home/tpeetz/.local/bin/uv run src.main:kontor --log-level info --host 127.0.0.1 --port 8200
Restart=on-failure
[Install]
WantedBy=multi-user.target