mirror of
https://github.com/3cky/mbusd.git
synced 2025-02-11 00:11:28 +01:00
Add online network requirements to the systemd service file (fix #58)
This commit is contained in:
parent
88916fe82d
commit
0c1dcb727d
@ -1,6 +1,8 @@
|
||||
[Unit]
|
||||
Description=Modbus TCP to Modbus RTU (RS-232/485) gateway.
|
||||
Requires=network.target
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/mbusd -d -v2 -L - -c @CMAKE_INSTALL_FULL_SYSCONFDIR@/mbusd/mbusd-%i.conf -p /dev/%i
|
||||
|
Loading…
Reference in New Issue
Block a user