[ubuntu-studio-devel] Shouldn't rtirq become a systemd unit?
Len Ovens
len at ovenwerks.net
Thu Aug 6 16:06:10 UTC 2015
On Thu, 6 Aug 2015, Ralf Mardorf wrote:
> below that how a systemd solution could look like [1].
> [root at archlinux ~]# cat /usr/lib/systemd/system/rtirq.service
> [Unit]
> Description=Realtime IRQ thread system tuning
> After=multi-user.target sound.target
>
> [Service]
> Type=oneshot
> ExecStart=/usr/bin/rtirq start
> ExecStop=/usr/bin/rtirq stop
> RemainAfterExit=true
This is where sysinit/upstart/systemd kind of fail me. Stuff like this is
really not a system service, but rather system configuration.
In the above, what is there to stop? The script sets the system up and
exits. (I am guessing that is what oneshot means) So what is the remain
after exit thing in this case? That doesn't make sense as there is (or
should be) no remaining running process.
--
Len Ovens
www.ovenwerks.net
More information about the ubuntu-studio-devel
mailing list