blob: 4f5e5b9c5b3b05859a1f966a14e5aff9acbea051 [file] [log] [blame]
Václav Kubernáte6ecb9b2021-02-09 20:53:44 +01001[Unit]
2Description=Restore NACM rules
Tomáš Pecka04eb7372022-06-07 08:03:04 +02003After=netopeer2-install-yang.service czechlight-migrate.service cfg.mount
4Requires=netopeer2-install-yang.service czechlight-migrate.service cfg.mount
Václav Kubernáte6ecb9b2021-02-09 20:53:44 +01005Before=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
Tomáš Peckad3861ce2022-05-11 11:51:30 +020012Group=sysrepo
Václav Kubernáte6ecb9b2021-02-09 20:53:44 +010013
14[Install]
15WantedBy=multi-user.target