chore: simplify runner to run as root from /opt/sharedinbox-runner

This commit is contained in:
Thomas Güttler
2026-05-08 12:40:12 +02:00
parent 5d33befe51
commit 06cf8c7f99
+5 -5
View File
@@ -5,12 +5,12 @@ After=docker.service network-online.target
[Service]
Type=simple
User=si
Group=si
User=root
Group=root
WorkingDirectory=/
ExecStartPre=-/usr/bin/docker compose -f /home/si/projects/sharedinbox3/codeberg-runner/docker-compose.yml down
ExecStart=/usr/bin/docker compose -f /home/si/projects/sharedinbox3/codeberg-runner/docker-compose.yml up --build
ExecStop=/usr/bin/docker compose -f /home/si/projects/sharedinbox3/codeberg-runner/docker-compose.yml down
ExecStartPre=-/usr/bin/docker compose -f /opt/sharedinbox-runner/codeberg-runner/docker-compose.yml down
ExecStart=/usr/bin/docker compose -f /opt/sharedinbox-runner/codeberg-runner/docker-compose.yml up --build
ExecStop=/usr/bin/docker compose -f /opt/sharedinbox-runner/codeberg-runner/docker-compose.yml down
Restart=always
RestartSec=10