ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 #
# !!! This file is managed by Ansible !!!
#

[Unit]
Description=Modbus TCP to Modbus RTU (RS-232/485) gateway.
Requires=network.target
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/bin/mbusd -d -v2 -L - -c /etc/mbusd.conf -p /dev/{{ services.mbusd.device }}
Restart=on-failure
RestartSec=1
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target