diff --git a/application/launcher_json.service b/application/launcher_json.service index 15417cf..ca8e265 100644 --- a/application/launcher_json.service +++ b/application/launcher_json.service @@ -6,14 +6,10 @@ Description=Launcher_json Service # Non-root user User=www-data # Workspace directory -WorkingDirectory=/opt/launcher_json # Path to Reposilite executable/script and its configuration. -ExecStart=/opt/launcher_json/start.sh +ExecStart=/usr/bin/docker run -p 8090:8080 --restart unless-stopped -d --rm launcher_json # Policy -SuccessExitStatus=0 -TimeoutStopSec=10 -Restart=on-failure -RestartSec=5 +Type=oneshot [Install] WantedBy=multi-user.target