move *.service files to subdirectory container and add service file for standalone operations in standalone
This commit is contained in:
+1
-1
@@ -7,5 +7,5 @@ set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> Setting up systemd user services"
|
||||
cp service/*.service $HOME/.config/systemd/user/
|
||||
cp service/container/*.service $HOME/.config/systemd/user/
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user