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

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

 



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@xxxxxxxxx                      -- Mitchell Blank on LKML

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[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