gentoo-overlay/dev-util/reposilite/files/reposilite.service
Manuel Friedli 95b2c95d55
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
dev-util/reposilite: Add untested ebuild for version 2.9.1
Package-Manager: Portage-3.0.4, Repoman-3.0.1
2020-10-08 23:21:07 +02:00

24 lines
533 B
Desktop File

[Unit]
Description=Reposilite Maven Repository hosting server
Documentation=https://reposilite.com/docs/about
AssertPathIsDirectory=/var/lib/reposilite-data
AssertPathIsReadWrite=/var/lib/reposilite-data
After=network.target
Requires=network.target
[Service]
User=reposilite
Group=reposilite
Environment="DOCKER_REPOSILITE_CONFIG_FILE=/etc/reposilite/app.ini"
ExecStart=reposilite.sh
ExecStop=docker container stop reposilite
ExecStopPost=docker container rm reposilite
Restart=on-failure
[Install]
WantedBy=multi-user.target