At Tue, 21 Oct 2014 14:25:01 +0400, Vasiliy Tolstov wrote: > > 2014-10-21 10:45 GMT+04:00 Valerio Pachera <[email protected]>: > > Hi, I asked in Fedora mailing list for someone interested in > > creating/maintaining a sheepdog package. > > I got some good answers but they make me notice we don't have any > > systemd service file. > > Systemd is adopted by many distribution and it's going to to be also > > the default for debian 8. > > > > Richard Shaw of Fedora suggested this very basic script asking for > > someone more familiar with systemd to review it. > > > > [Unit] > > Description=Sheepdog distributed storage system > > > > [Service] > > ExecStart=/usr/sbin/sheep > > > > [Install] > > WantedBy=multi-user.target > > > > Is anybody in this list familiar with systemd, to create a proper > > service file in upstrem? > > > > Thank you. > > > Hello' I'm writing this for me: > > [Unit] > Description=Sheepdog QEMU/KVM Block Storage > After=syslog.target > > [Service] > EnvironmentFile=/etc/conf.d/sheep.conf > ExecStart=/usr/sbin/sheep --pidfile /var/run/sheep.pid ${SHEEP_OPTS} > ${SHEEP_PATH} > PIDFile=/var/run/sheep.pid > Type=forking > > [Install] > WantedBy=multi-user.target > > sheep.conf have this for example: > > SHEEP_OPTS="-c local -D -u" > SHEEP_PATH="/var/lib/sheepdog"
Thanks for your sharing, Vasiliy. Could you create a patch for adding the above files to the repository? e.g. script/systemd would be a suitable directory name for them. Valerio, if the files are in our repository, can anyone create rpm for recent fedora? Or are there additional requirements? Thanks, Hitoshi > > > -- > Vasiliy Tolstov, > e-mail: [email protected] > jabber: [email protected] > -- > sheepdog mailing list > [email protected] > http://lists.wpkg.org/mailman/listinfo/sheepdog -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
