funk2256@home-server:~/lampa/lampa-source$ cat /usr/local/bin/lampa_start #!/bin/sh cd /home/funk2256/lampa/lampa-source/ && pm2 --name lampa start npm -- start funk2256@home-server:~/lampa/lampa-source$ sudo cat /etc/systemd/system/lampa.service [Unit] Description=lampa start npm service [Service] Type=simple ExecStart=/usr/local/bin/lampa_start Restart=always [Install] WantedBy=multi-user.target funk2256@home-server:~/lampa/lampa-source$ sudo systemctl daemon-reload funk2256@home-server:~/lampa/lampa-source$ sudo systemctl start lampa.service funk2256@home-server:~/lampa/lampa-source$ sudo systemctl status lampa.service × lampa.service - lampa start npm service Loaded: loaded (/etc/systemd/system/lampa.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2022-10-07 02:20:21 +07; 3s ago Process: 10658 ExecStart=/usr/local/bin/lampa_start (code=exited, status=203/EXEC) Main PID: 10658 (code=exited, status=203/EXEC) CPU: 2ms окт 07 02:20:21 home-server systemd[1]: Started lampa start npm service. окт 07 02:20:21 home-server systemd[1]: lampa.service: Main process exited, code=exited, status=203/EXEC окт 07 02:20:21 home-server systemd[1]: lampa.service: Failed with result 'exit-code'. окт 07 02:20:21 home-server systemd[1]: lampa.service: Scheduled restart job, restart counter is at 5. окт 07 02:20:21 home-server systemd[1]: Stopped lampa start npm service. окт 07 02:20:21 home-server systemd[1]: lampa.service: Start request repeated too quickly. окт 07 02:20:21 home-server systemd[1]: lampa.service: Failed with result 'exit-code'. окт 07 02:20:21 home-server systemd[1]: Failed to start lampa start npm service. funk2256@home-server:~/lampa/lampa-source$ sudo systemctl daemon-reload funk2256@home-server:~/lampa/lampa-source$ sudo systemctl start lampa.service funk2256@home-server:~/lampa/lampa-source$ sudo systemctl status lampa.service × lampa.service - lampa start npm service Loaded: loaded (/etc/systemd/system/lampa.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2022-10-07 02:20:21 +07; 3s ago Process: 10658 ExecStart=/usr/local/bin/lampa_start (code=exited, status=203/EXEC) Main PID: 10658 (code=exited, status=203/EXEC) CPU: 2ms окт 07 02:20:21 home-server systemd[1]: Started lampa start npm service. окт 07 02:20:21 home-server systemd[1]: lampa.service: Main process exited, code=exited, status=203/EXEC окт 07 02:20:21 home-server systemd[1]: lampa.service: Failed with result 'exit-code'. окт 07 02:20:21 home-server systemd[1]: lampa.service: Scheduled restart job, restart counter is at 5. окт 07 02:20:21 home-server systemd[1]: Stopped lampa start npm service. окт 07 02:20:21 home-server systemd[1]: lampa.service: Start request repeated too quickly. окт 07 02:20:21 home-server systemd[1]: lampa.service: Failed with result 'exit-code'. окт 07 02:20:21 home-server systemd[1]: Failed to start lampa start npm service.