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