E
E
evgeniy00902020-05-23 10:58:51
linux
evgeniy0090, 2020-05-23 10:58:51

Why is the service not starting properly?

Good afternoon.
Help solve the problem, I wrote a service, but it does not work as expected, here is the contents of the script

[Unit]
Description=up-proxy
After=sys-subsystem-net-devices-wlan0.device
After=sys-subsystem-net-devices-eth0.device
After=sys-subsystem-net-devices-eth1.device

[Service]
ExecStart=/etc/proxy/up-proxy

[Install]
WantedBy=multi-user.target


but when outputting sudo systemctl status up-proxy.service it outputs the following
● up-proxy.service - up-proxy
   Loaded: loaded (/etc/systemd/system/up-proxy.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-05-22 21:10:31 MSK; 13h ago
  Process: 344 ExecStart=/etc/proxy/up-proxy (code=exited, status=1/FAILURE)
 Main PID: 344 (code=exited, status=1/FAILURE)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karpion, 2020-05-24
@Karpion

/etc/proxy/up-proxydid not start. Look at the logs - system and his own, there should be. it is written in English in white that is not so.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question