klt
Ezt nem értem:
sh xfirestart.sh
xfirestart.sh: 2: cd: can't cd to /opt/PFire/src/PFire.Console/
Could not execute because the specified command or file was not found.
Possible reasons for this include:
- You misspelled a built-in dotnet command.
does not exist. to execute a .NET program, but dotnet-run
- You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
De még hagyján ugyanazt a hibát dobja service-ben mint azelőtt.:
● xfirepfire.service - Xfire szerver
Loaded: loaded (/etc/systemd/system/xfirepfire.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-05-01 21:33:40 CEST; 5s ago
Process: 9619 ExecStart=/opt/xfirestart.sh (code=exited, status=203/EXEC)
Main PID: 9619 (code=exited, status=203/EXEC)
máj 01 21:33:40 panel systemd[1]: Started Xfire szerver.
máj 01 21:33:40 panel systemd[9619]: xfirepfire.service: Failed to execute command: No such file or directory
máj 01 21:33:40 panel systemd[9619]: xfirepfire.service: Failed at step EXEC spawning /opt/xfirestart.sh: No suc
máj 01 21:33:40 panel systemd[1]: xfirepfire.service: Main process exited, code=exited, status=203/EXEC
máj 01 21:33:40 panel systemd[1]: xfirepfire.service: Failed with result 'exit-code'.
Ilyen ha terminálban kézzel indítom:
root@panel:/opt/PFire/src/PFire.Console# dotnet run
[21:36:44 DBG] An 'IServiceProvider' was created for internal use by Entity Framework.
[21:36:45 DBG] No relationship from 'Friend' to 'User' has been configured by convention because there are multiple properties on one entity type {'Me', 'Them'} that could be matched with the properties on the other entity type {'FriendsOf', 'MyFriends'}. This message can be disregarded if explicit configuration has been specified in 'OnModelCreating'.