Answer the question
In order to leave comments, you need to log in
Why won't my service start on linux?
The service file is located in /etc/systemd/system
When the system boots, the service does not turn on, error code 2
If you then manually write systemctl start - everything works
The service itself:
[Unit]
Description = Шлёт расписание мужикам
[Service]
RemainAfterExit=true
ExecStart=/home/ec2-user/TG_shed/TG_Shedule_AWS
Type=simple
[Install]
WantedBy=multi-user.target
Answer the question
In order to leave comments, you need to log in
[Unit]
You did not specify a launch parameter
in the blockAfter=multi-user.target
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question