launcher_json/application/launcher_json.service

16 lines
450 B
SYSTEMD
Raw Permalink Normal View History

2023-09-30 00:04:41 +02:00
# systemd service, to start the app at the launch of the system and restart it if it crash
[Unit]
Description=Launcher_json Service
[Service]
2023-09-30 16:25:44 +02:00
# Non-root user, create a new user first and it to docker group
User=launcher
2023-09-30 00:04:41 +02:00
# Workspace directory
# Path to Reposilite executable/script and its configuration.
2023-09-30 00:18:24 +02:00
ExecStart=/usr/bin/docker run -p 8090:8080 --restart unless-stopped -d launcher_json
2023-09-30 00:04:41 +02:00
# Policy
Type=oneshot
2023-09-30 00:04:41 +02:00
[Install]
WantedBy=multi-user.target