Hi Tom, You may be aware that Fedora is transitioning to a new init system called systemd[1]. This uses a new type of startup file called a service file. I''ve attached some first efforts at the service files that I came up with - they''re currently in the fawhide and Fedora 16 branches, so haven''t had huge amounts of testing. I thought you may want to distribute systemd service files with shorewall, and these might provide a reasonable starting point. Cheers, Jonathan. [1] http://www.freedesktop.org/wiki/Software/systemd ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
On Sun, 2011-08-21 at 20:12 +0100, Jonathan Underwood wrote:> Hi Tom, > > You may be aware that Fedora is transitioning to a new init system > called systemd[1]. This uses a new type of startup file called a > service file. I''ve attached some first efforts at the service files > that I came up with - they''re currently in the fawhide and Fedora 16 > branches, so haven''t had huge amounts of testing. I thought you may > want to distribute systemd service files with shorewall, and these > might provide a reasonable starting point.Thanks, Jonathan Do these files typically carry a copyright statement when distributed? If so, is the comment character ''#''? Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ uberSVN''s rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
On 22 August 2011 14:29, Tom Eastep <teastep@shorewall.net> wrote:> Do these files typically carry a copyright statement when distributed?It''s a bit early to really know what "typical" is to be honest, but I don''t see any harm in adding a copyright statement, certainly.> If so, is the comment character ''#''?yep. Cheers, Jonathan. ------------------------------------------------------------------------------ uberSVN''s rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
On Mon, 2011-08-22 at 14:32 +0100, Jonathan Underwood wrote:> On 22 August 2011 14:29, Tom Eastep <teastep@shorewall.net> wrote: > > Do these files typically carry a copyright statement when distributed? > > It''s a bit early to really know what "typical" is to be honest, but I > don''t see any harm in adding a copyright statement, certainly. > > > If so, is the comment character ''#''? > > yep.One more question - where are the .service files installed and how does one determine if they should be installed? Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ uberSVN''s rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
On 22 August 2011 17:34, Tom Eastep <teastep@shorewall.net> wrote:> One more question - where are the .service files installed and how does > one determine if they should be installed?Well, on Fedora they go in /lib/systemd/system/. I would hope that other distros use choose the same directory as they migrate to systemd. As for determining if they should be installed, that''s a tricky one. You could check for the existence of that directory I suppose. Or, see if the /bin/systemctl file is present. J ------------------------------------------------------------------------------ uberSVN''s rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev