You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea-fork-majority-judgment/docs/content/doc/installation/windows-service.fr-fr.md

1.1 KiB

date title slug weight toc draft menu
2017-08-23T09:00:00+02:00 Démarrer en tant que service Windows windows-service 10 false false
sidebar
parent name weight identifier
installation Service Windows 30 windows-service

Activer un service Windows

Pour activer le service Windows Gitea, ouvrez une cmd en tant qu'Administrateur puis utilisez la commande suivante :

sc create gitea start= auto binPath= "\"C:\gitea\gitea.exe\" web --config \"C:\gitea\custom\conf\app.ini\""

N'oubliez pas de remplacer C:\gitea par le chemin que vous avez utilisez pour votre installation.

Ensuite, ouvrez "Services Windows", puis recherchez le service gitea, faites un clique droit et selectionnez "Run". Si tout fonctionne, vous devriez être capable d'accèder à Gitea à l'URL http://localhost:3000 (ou sur le port configuré si différent de 3000).

Désactiver un service Windows

Pour désactiver le service Windows Gitea, ouvrez une cmd en tant qu'Administrateur puis utilisez la commande suivante :

sc delete gitea