gdraheim / docker-systemctl-replacement

docker systemctl replacement - allows to deploy to systemd-controlled containers without starting an actual systemd daemon (e.g. centos7, ubuntu16)
European Union Public License 1.2
1.4k stars 401 forks source link

Override options does not apply if not emptied first #134

Open mvorisek opened 2 years ago

mvorisek commented 2 years ago

Options like TimeoutSec must be unset first to apply in override config.

Example:

TimeoutSec=100

override does not work currently and must be changed to:

TimeoutSec=
TimeoutSec=100

this behaviour is correct only for several options that can be specified multiple times

ref https://stackoverflow.com/a/41572053/5153116