/etc/systemd/system/reposilite.service
file:[Unit]
Description=Reposilite Service
[Service]
# Non-root user
User=reposilite-user
# Reposilite workspace directory
WorkingDirectory=/opt/reposilite
# Path to Reposilite executable/script and its configuration.
ExecStart=java -jar reposilite.jar --local-configuration=/etc/reposilite/reposilite.cdn --working-directory=/opt/reposilite
# Policy
SuccessExitStatus=0
TimeoutStopSec=10
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
Did you find misleading or deprecated content? Maybe you just feel this section misses important elements?
Copyright © 2023 dzikoysk with ❤ panda-lang