Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Restore NACM rules |
Tomáš Pecka | 04eb737 | 2022-06-07 08:03:04 +0200 | [diff] [blame^] | 3 | After=netopeer2-install-yang.service czechlight-migrate.service cfg.mount |
| 4 | Requires=netopeer2-install-yang.service czechlight-migrate.service cfg.mount |
Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 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 |
Tomáš Pecka | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame] | 12 | Group=sysrepo |
Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |