I'm writing a service which should start LTE connection.
But the utility I'm using to connect (sakis3g) is writing to
/dev/stderr, which is not available in systemd and the log is full of
Cannot create /dev/stderr: No such device or address
Is there some way to work around it?
Changing the utility script/binary is unfortunately not an option.
EDIT: Here is the service:
[Unit] Description=LTE After=syslog.target network-online.target Before=openvpn-client@client Wants=network-online.target [Service] Type=oneshot RemainAfterExit=yes WorkingDirectory=/opt/mav/LTE/ ExecStartPre=/sbin/ip link set wwan0 down ExecStart=/opt/mav/LTE/sakis3g connect -g --sudo ExecStop=/opt/mav/LTE/sakis3g disconnect --sudo [Install] WantedBy=multi-user.target
And it works in this state. But when I start
-g flag for more verbose debug output, then the
stderr errors appear.