2020-10-08 23:21:07 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Reposilite Maven Repository hosting server
|
|
|
|
Documentation=https://reposilite.com/docs/about
|
|
|
|
|
2020-11-14 20:00:57 +01:00
|
|
|
After=docker.service
|
2020-10-08 23:21:07 +02:00
|
|
|
After=network.target
|
2020-11-14 20:00:57 +01:00
|
|
|
Requires=docker.service
|
2020-10-08 23:21:07 +02:00
|
|
|
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
|