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