You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a code snippet for a possible service file to start reposilite automatically. The file should be saved as reposilite.service into /etc/systemd/system. The User must be changed as wished and must exist of course, using the root user is not recommended. Then it might be activated like this:
systemctl enable reposilite
systemctl start reposilite
Of course you must have root access to the system and systemd must be installed as it is in Debian based Linux.
[Unit]
Description=Reposilite Service
[Service]
User=th
# The configuration file application.properties should be here:
#change this to your workspace
WorkingDirectory=/opt/reposilite
#path to executable.
#executable is a bash script which calls jar file
ExecStart=java -jar reposilite-2.9.21.jar --config=/etc/reposilite/reposilite.cdn
SuccessExitStatus=0
TimeoutStopSec=10
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
The text was updated successfully, but these errors were encountered:
This is a code snippet for a possible service file to start reposilite automatically. The file should be saved as reposilite.service into /etc/systemd/system. The User must be changed as wished and must exist of course, using the root user is not recommended. Then it might be activated like this:
systemctl enable reposilite
systemctl start reposilite
Of course you must have root access to the system and systemd must be installed as it is in Debian based Linux.
The text was updated successfully, but these errors were encountered: