launcher_json/application/launcher_json.service

16 lines
407 B
Desktop File

# systemd service, to start the app at the launch of the system and restart it if it crash
[Unit]
Description=Launcher_json Service
[Service]
# Non-root user
User=www-data
# Workspace directory
# Path to Reposilite executable/script and its configuration.
ExecStart=/usr/bin/docker run -p 8090:8080 --restart unless-stopped -d --rm launcher_json
# Policy
Type=oneshot
[Install]
WantedBy=multi-user.target