Запускаю программу в терминале всё работает норм,создаю сервис запускаю,не стартует.В чём может быть проблема?
сервис
[Unit]
Description=Anoma Node
After=network.target
[Service]
User=root
WorkingDirectory=/root
ExecStart=/usr/bin/anoma ledger
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
в журнале
Nov 02 14:38:21 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Failed with result 'exit-code'.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Scheduled restart job, restart counter is at 152.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 systemd[1]: Stopped Aleo Node.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 systemd[1]: Started Aleo Node.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 anoma[29430]: The application panicked (crashed).
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 anoma[29430]: Message: Couldn't run anoman command.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 anoma[29430]: Location: apps/src/bin/anoma/cli.rs:83
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 anoma[29430]: Backtrace omitted.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 anoma[29430]: Run with RUST_BACKTRACE=1 environment variable to display it.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 anoma[29430]: Run with RUST_BACKTRACE=full to include source snippets.
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Main process exited, code=exited, status=101/n/a
Nov 02 14:38:31 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Failed with result 'exit-code'.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Scheduled restart job, restart counter is at 153.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 systemd[1]: Stopped Aleo Node.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 systemd[1]: Started Aleo Node.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 anoma[29447]: The application panicked (crashed).
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 anoma[29447]: Message: Couldn't run anoman command.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 anoma[29447]: Location: apps/src/bin/anoma/cli.rs:83
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 anoma[29447]: Backtrace omitted.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 anoma[29447]: Run with RUST_BACKTRACE=1 environment variable to display it.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 anoma[29447]: Run with RUST_BACKTRACE=full to include source snippets.
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Main process exited, code=exited, status=101/n/a
Nov 02 14:38:42 ubuntu-4gb-nbg1-1 systemd[1]: anomad.service: Failed with result 'exit-code'.