exit 127 conventionally means "No such file or directory". The script itself exists, but something it refers to does not. For instance, you would get this error if the script said:…and the myprogram file was not found. Note that it may be possible for ./myprogram to exist when you run the script in some particular way, but not when systemd runs it from somewhere else, or with a different environment.
Code:
#! /bin/sh./myprogram
Statistics: Posted by jojopi — Tue Dec 10, 2024 12:44 am