16 lines
450 B
Desktop File
16 lines
450 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, create a new user first and it to docker group
|
|
User=launcher
|
|
# Workspace directory
|
|
# Path to Reposilite executable/script and its configuration.
|
|
ExecStart=/usr/bin/docker run -p 8090:8080 --restart unless-stopped -d launcher_json
|
|
# Policy
|
|
Type=oneshot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|