Tomáš Pecka | 785ceb3 | 2020-10-15 18:28:47 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Install YANG and initial data for lldp-systemd-networkd-sysrepo |
| 3 | Requires=sysrepod.service |
| 4 | Before=sysrepod.service |
| 5 | |
| 6 | [Service] |
| 7 | Type=oneshot |
| 8 | ExecStart=/usr/bin/sysrepoctl --install --yang /usr/share/lldp-systemd-networkd-sysrepo/yang/czechlight-lldp.yang |
| 9 | ExecStart=/usr/bin/sysrepoctl --install --yang /usr/share/lldp-systemd-networkd-sysrepo/yang/iana-afn-safi@2013-07-04.yang |
| 10 | ExecStart=/usr/bin/sysrepoctl --install --yang /usr/share/lldp-systemd-networkd-sysrepo/yang/ietf-inet-types@2013-07-15.yang |
| 11 | ExecStart=/bin/cp -a /etc/sysrepo /cfg/etc/ |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |