Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Restore NACM rules |
| 3 | After=netopeer2-install-yang.service czechlight-install-yang.service cfg.mount |
| 4 | Requires=netopeer2-install-yang.service czechlight-install-yang.service cfg.mount |
| 5 | Before=netopeer2-setup.service netopeer2.service sysrepo-persistent-cfg.service |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | RemainAfterExit=yes |
| 10 | ExecStart=/bin/sysrepocfg -d startup -m ietf-netconf-acm -f json --import=/usr/share/yang-data/nacm.json |
| 11 | ExecStart=/bin/sysrepocfg -C startup |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |