[systemd-devel] [PATCH] systemd-run: extend bash completion

Thomas H.P. Andersen phomes at gmail.com
Tue Mar 11 00:05:48 PDT 2014


On Tue, Mar 11, 2014 at 4:52 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 05.03.14 23:48, Thomas H.P. Andersen (phomes at gmail.com) wrote:
>
>> From: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
>>
>> --system
>> -H --host
>> -M --machine
>> --service-type (options: simple forking oneshot dbus notify idle)
>> --uid
>> --gid
>> --nice
>> --setenv
>> -p --property (options read from bus_append_unit_property_assignment)
>
> Looks good as far as I grok the completion things. Zbigniew, you know
> this better than I do, can you OK this?

I was mostly looking for a verification that the list of options make
are correct:

--service-type:
simple forking oneshot dbus notify idle

--property:
CPUAccounting MemoryAccounting BlockIOAccounting SendSIGHUP
SendSIGKILL MemoryLimit CPUShares BlockIOWeight User Group
DevicePolicy KillMode DeviceAllow BlockIOReadBandwidth
BlockIOWriteBandwidth BlockIODeviceWeight Nice Environment KillSignal

Some of the properties take e.g. a boolean value and we could go on to
suggest an on/off value but I did not go that far.


More information about the systemd-devel mailing list