[...]einfach so in die Kommandozeile (als root) eingibst?
dann gehts ohne probleme. Loglevel geht nur bis 4
Edit:
hab das jetzt mal mit strace gemacht einmal via systemd und einmal direkt in der konsole und man staune, es ist der selbe Output:
Code: Alles auswählen
/usr/bin/strace -e trace=process -o /tmp/my12.log /opt/aei/apps/licenses/Mathematica/v11.3/mathlm -timeout 24 -loglevel 4 -logfile /var/log/licenses/mathematica_11.3.log
Output:
Code: Alles auswählen
execve("/opt/aei/apps/licenses/Mathematica/v11.3/mathlm", ["/opt/aei/apps/licenses/Mathemati"..., "-timeout", "24", "-loglevel", "4", "-logfile", "/var/log/licenses/mathematica_11"...], [/* 18 vars */]) = 0
arch_prctl(ARCH_SET_FS, 0x7f62c8bfc700) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f62c8bfc9d0) = 1434
exit_group(0) = ?
+++ exited with 0 +++
auch ohne -e kommts auf das selbe hinaus, clone. Kommt systemd damit nicht klar?
Edit2:
mal mit strace -f gemacht,
von der kommandozeile aus:
Code: Alles auswählen
1536 execve("/opt/aei/apps/licenses/Mathematica/v11.3/mathlm", ["/opt/aei/apps/licenses/Mathemati"..., "-timeout", "24", "-loglevel", "4", "-logfile", "/var/log/licenses/mathematica_11"...], [/* 18 vars */]) = 0
1536 arch_prctl(ARCH_SET_FS, 0x7f49f2f84700) = 0
1536 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f49f2f849d0) = 1537
1536 exit_group(0) = ?
1536 +++ exited with 0 +++
1537 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f49f2f849d0) = 1538
1537 exit_group(0) = ?
1537 +++ exited with 0 +++
1538 exit_group(-1) = ?
1538 +++ exited with 255 +++
als service-file:
Code: Alles auswählen
1612 execve("/opt/aei/apps/licenses/Mathematica/v11.3/mathlm", ["/opt/aei/apps/licenses/Mathemati"..., "-timeout", "24", "-loglevel", "4", "-logfile", "/var/log/licenses/mathematica_11"...], [/* 9 vars */]) = 0
1612 arch_prctl(ARCH_SET_FS, 0x7f440aee1700) = 0
1612 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f440aee19d0) = 1613
1612 exit_group(0) = ?
1612 +++ exited with 0 +++
1613 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f440aee19d0) = 1614
1613 exit_group(0) = ?
1613 +++ exited with 0 +++
1614 --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=1, si_uid=0} ---
1614 +++ killed by SIGTERM +++
cloned er sich evtl zu oft?