INITSYSTEM=on, Resin no longer restarts my main process when it crashes (it doesn’t restart the container either).
The systemd unit
/etc/systemd/system/launch.service is pretty simple:
[Unit] Description=Resin.io User Application [Service] EnvironmentFile=/etc/docker.env ExecStart=/etc/resinApp.sh StandardOutput=tty StandardError=tty TTYPath=/dev/console [Install] WantedBy=basic.target
If I want to add behaviors to this service, is it sane to just overwrite this file with a modified version? If I do that, what’s the likelihood of it breaking with future ResinOS updates?
If it’s considered a normal use case to override this service, it also might be good to document it alongside the