• [^] # Re: Alors moi

    Posté par . En réponse au message lancer svnserve avec jessie (systemd?). Évalué à 1.

    voici a quoi ressemble le fichier /etc/systemd/system/svn-srv.service avec les modifs

    [Unit]
    Description=svn-srv
    Requires=systemd-networkd.service

    [Service]
    #WorkingDirectory= (au besoin?)
    ExecStart=/usr/bin/svnserve -d -r /var/svn/depots
    Restart=always

    RestartSec=60

    StandardOutput=syslog
    StandardError=syslog

    SyslogIdentifier=svn-srv
    ExecReload=/usr/bin/killall -s SIGHUP svnserve

    #User=svn # RunUser
    #Group=svn # RunUserGroup
    #Environment=MYVAR=FOO # SET ENV if needed

    [Install]
    WantedBy=multi-user.target