Answer the question
In order to leave comments, you need to log in
Why is the server not starting via systemd?
I need to start, stop, restart the server I
created a unit, wrote in it:
[Unit]
Description=server service
After=network.target
[Service]
Type=forking
ExecStart=/home/dima/Загрузки/Свой сервер/server
Restart=always
[Install]
WantedBy=multi-user.target
server.service - server service
Loaded: loaded (/etc/systemd/system/server.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Cho 2019-06-26 23:39:28 +05; 2min 17s ago
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Control process exited, code=exited status=203
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: Failed to start server service.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Unit entered failed state.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Failed with result 'exit-code'.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Service hold-off time over, scheduling restart.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: Stopped server service.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Start request repeated too quickly.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: Failed to start server service.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Unit entered failed state.
Iyn 26 23:39:28 dima-VirtualBox systemd[1]: server.service: Failed with result 'start-limit-hit'.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question