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
When a user on linux installs the launcher 2 times (sudo ./fiskaltrust.Launcher install), they get the following error.
Problem
When writing to the systemd unit file /etc/systemd/system/*.service we append. This leads to the file being invalid.
Solution
We should not append to the systemd unit file but overwrite it.
Before installing the launcher service we should check if the launcher is already installed (by checking if the file exists and by using systemd) and fail the installation in this case with nice error messages (in the error message we can tell them to run the uninstall command, if that actually solves the problem).
In the uninstall command we should make sure that we actually remove the file and that that is enough to really remove the service from systemd.
The text was updated successfully, but these errors were encountered:
volllly
changed the title
User get Error when they run middleware as a service and service is already run
Error installing launcher twice
Dec 18, 2023
Background
When a user on linux installs the launcher 2 times (
sudo ./fiskaltrust.Launcher install
), they get the following error.Problem
When writing to the systemd unit file
/etc/systemd/system/*.service
we append. This leads to the file being invalid.Solution
We should not append to the systemd unit file but overwrite it.
Before installing the launcher service we should check if the launcher is already installed (by checking if the file exists and by using systemd) and fail the installation in this case with nice error messages (in the error message we can tell them to run the
uninstall
command, if that actually solves the problem).In the
uninstall
command we should make sure that we actually remove the file and that that is enough to really remove the service from systemd.The text was updated successfully, but these errors were encountered: