• # Alors moi

    Posté par (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é)

    [Unit]
    Description=SVN-Truc
    Requires=After=apache.service
    [Service]
    #WorkingDirectory=<chemin_depots> (au besoin?)
    ExecStart=svnserve -d -r <chemin_depots>
    Restart=always
    RestartSec=10 # Restart service after 10 seconds if svn service crashes
    StandardOutput=syslog # Output to syslog
    StandardError=syslog # Output to syslog
    SyslogIdentifier=svn-truc
    User=svn # RunUser
    Group=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 !!!