Re: Request new package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a side note, I played around building a package and noticed that only a sysvinit file is provided. Upstream should develop a systemd service file. I started working on a minimal one but haven't tested it yet.

[Unit]
Description=Sheepdog distributed storage system

[Service]
ExecStart=/usr/sbin/sheep

[Install]
WantedBy=multi-user.target


I would consider this bare bones and I'm assuming that sheep doesn't fork by default (Type=Simple instead of Type=Forking). Also if it needs to be started after httpd IF httpd is enabled then I think a "Wants=httpd" or something like that should be added to the Unit section.

I'm not a systemd expert by any means so someone please correct me if I messed anything up.

Thanks,
Richard

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux