You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doc says to follow the install instructions e.g. run install.sh. The end result was /etc/systemd/system/sshnpd.service was set back to the template so had to be reconfigure it. Unless I missed something it would be much better if when upgrading it could leave the previously configured file or at a min copy the existing one?
Steps to reproduce
Install v5.6.1 on a Linux system choosing systemd as the run mechanism. Update sshnpd.service to be the way you want it
Upgrade the installation to v5.7.0
sshnpd.service has reverted to template
Expected behavior
If sshnpd.service already exists then it should not be updated
Screenshots
No response
Smartphones
No response
Were you using an atApplication when the bug was found?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
The docs shouldn't be referencing install.sh as that's now wrapped by universal.sh
universal.sh would still create a new unit file, but it would also fill in the required variables (but might well overwrite any custom config)
Since universal.sh does this by calling install.sh which copies the template in place we might be better off having a check for the existing unit file and skipping if it's there
and maybe an option to force a new unit file to get a clean state
@XavierChanth I'm starting to feel like the interaction between universal.sh and install.sh is getting unwieldy (and that it was never really intended for upgrading)
Looking down the road to things like EU Cyber Resilience Act (CRA) we're going to need an automated update mechanism, so we should start thinking now what we'd like that to look like.
Okay, going forward we should probably use the EnvironmentFile directive in systemd as a config file.
This will make it easier on us to just wipe the systemd file if we ever need to make changes. With a standard format for an environment file, we can append new variables to it without having to wipe any existing config.
Describe the bug
Report from customer:
Steps to reproduce
Expected behavior
Screenshots
No response
Smartphones
No response
Were you using an atApplication when the bug was found?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: