F15 Feature - convert as many service init files as possible to the native SystemD services

Tomasz Torcz tomek at pipebreaker.pl
Fri Nov 26 15:01:09 UTC 2010


On Fri, Nov 26, 2010 at 03:42:33PM +0100, Michał Piotrowski wrote:
> Hi,
> 
> How to start things that really are not demons?
> 
> Amtu seemed to be a simple service to convert
> 
> [Unit]
> Description=Abstract Machine Tests
> After=syslog.target
> 
> [Service]
> EnvironmentFile=/etc/sysconfig/amtu
> ExecStart=/usr/sbin/amtu $EXTRAOPTIONS
> 
> [Install]
> WantedBy=multi-user.target
> 
> This service runs for a few seconds and exit.
> How to start it properly?

  Type=oneshot  (decribed in man systemd.service). Also, RemainAfterExit=
property could be useful.
  But is this really a “service“?  What's the role of AMTU?

-- 
Tomasz Torcz       ,,(...) today's high-end is tomorrow's embedded processor.''
xmpp: zdzichubg at chrome.pl                      -- Mitchell Blank on LKML



More information about the devel mailing list