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: zdzich...@chrome.pl                      -- Mitchell Blank on LKML

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

Reply via email to