[Unit]Description=SVN-TrucRequires=After=apache.service[Service]#WorkingDirectory=<chemin_depots> (au besoin?)ExecStart=svnserve -d -r <chemin_depots>Restart=alwaysRestartSec=10 # Restart service after 10 seconds if svn service crashesStandardOutput=syslog # Output to syslogStandardError=syslog # Output to syslogSyslogIdentifier=svn-trucUser=svn # RunUserGroup=svn # RunUserGroup#Environment=MYVAR=FOO # SET ENV if needed[Install]WantedBy=multi-user.target
Tu fou ça sous /lib/systemd/system/svn-truc.service
Puis systemctl daemon-reload
Is it a Bird? Is it a Plane?? No, it's Super Poil !!!
# Alors moi
Posté par M.Poil (site web personnel) . En réponse au message lancer svnserve avec jessie (systemd?). Évalué à 2. Dernière modification le 08 mars 2016 à 21:18.
Je ferais un truc comme ça (non testé)
Tu fou ça sous
/lib/systemd/system/svn-truc.servicePuis
systemctl daemon-reloadIs it a Bird? Is it a Plane?? No, it's Super Poil !!!