gentoo-overlay/dev-util/reposilite/files/reposilite-3.service

20 lines
423 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Reposilite Maven Repository hosting server
Documentation=https://reposilite.com/guide/about
After=network.target
Requires=network.target
[Service]
User=reposilite
Group=reposilite
WorkingDirectory=/opt/reposilite
ExecStart=java -jar reposilite.jar --local-config=/etc/reposilite/reposilite.cdn
SuccessExitStatus=0
TimeoutStopSec=10
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target