systemd-service and updated testing modpack to 02102023 #1

Merged
quentinlegot merged 7 commits from systemd-service into master 2023-10-02 16:58:43 +02:00
Showing only changes of commit 845aa8da10 - Show all commits

View File

@ -6,14 +6,10 @@ Description=Launcher_json Service
# Non-root user # Non-root user
User=www-data User=www-data
# Workspace directory # Workspace directory
WorkingDirectory=/opt/launcher_json
# Path to Reposilite executable/script and its configuration. # 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 # Policy
SuccessExitStatus=0 Type=oneshot
TimeoutStopSec=10
Restart=on-failure
RestartSec=5
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target