On Mo, 18.03.19 22:01, Marv Lelgemann ([email protected]) wrote:
> Am Montag, 11. März 2019 schrieb Lennart Poettering >:
> > On Do, 07.03.19 14:03, Marv Lelgemann ([email protected]) wrote:
> >
> >> I have a systemd service unit of type "dbus". I would like to have the
> >> option to restart (
Am Montag, 11. März 2019 schrieb Lennart Poettering :
> On Do, 07.03.19 14:03, Marv Lelgemann ([email protected]) wrote:
>
>> I have a systemd service unit of type "dbus". I would like to have the
>> option to restart (or stop and start) the service with additional command
>> line arguments in "Ex
On Do, 07.03.19 14:03, Marv Lelgemann ([email protected]) wrote:
> I have a systemd service unit of type "dbus". I would like to have the
> option to restart (or stop and start) the service with additional command
> line arguments in "ExecStart".
Do something like this:
mkdir -p /etc/system
If anyone should be faced with a similar issue, i solved it by setting and
unsetting a systemd environment variable (e.g. SERVICE_FOO_OPTARGS)
referenced from ExecStart of the service' unit file and then restarting the
service. On DBus there are SetEnvironment and UnsetEnvironment methods, or
set-e
I have a systemd service unit of type "dbus". I would like to have the
option to restart (or stop and start) the service with additional command
line arguments in "ExecStart".
I tried using a template unit with "EnvironmentFile" selected by the
instance name. I also tried a template unit with drop