Answer the question
In order to leave comments, you need to log in
Why is the service I created (systemd) not working?
Good day!
help to understand why the unit is not launched?
[Unit]
Description=vkbot
After=network.target
Requires=mysql.service
[Service]
Type=simple
Restart=always
WorkingDirectory=/home/vadim/vkbot
ExecStart=/usr/bin/python3.5 /home/vadim/vkbot/variator.py
[Install]
WantedBy=multi-user.target
Answer the question
In order to leave comments, you need to log in
Failed at step CHDIR spawning /usr/bin/python3.5: No such file or directory
tells you nothing?
Well, you don't have to. It is not necessary to run the files lying at the user through system units. Pottering gave you systemd --user
Probably the line
ExecStart=/usr/bin/python3.5 /home/vadim/vkbot/variator.py
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question