I usually import the manifest manually and enable the requiems services. After everything is running properly I use svccfg export to drop a enabled copy into /opt/custom/smf.
~ sjorge > On 16 Jan 2018, at 20:17, Sven Kirmess <[email protected]> wrote: > > The znapzend package installs a manifest under > /opt/tools/lib/svc/manifest/znapzend.xml, which is not imported on system > boot. What's the correct way to automatically start znapzend on reboot? > > - Copy the manifest to /opt/custom/smf/? > - Symlink the manifest to /opt/custom/smf/? > - Create a manifest in /opt/custom/smf/ that imports the manifest from > /opt/tools/lib/svc/manifest/? > > # pkg_info -L znapzend > Information for znapzend-0.15.3: > > Files: > /opt/tools/bin/znapzend > /opt/tools/bin/znapzendzetup > /opt/tools/bin/znapzendztatz > /opt/tools/lib/ZnapZend.pm > /opt/tools/lib/ZnapZend/Config.pm > /opt/tools/lib/ZnapZend/Time.pm > /opt/tools/lib/ZnapZend/ZFS.pm > /opt/tools/man/man1/znapzend.1.gz > /opt/tools/man/man1/znapzendzetup.1.gz > /opt/tools/man/man1/znapzendztatz.1.gz > /opt/tools/lib/svc/manifest/znapzend.xml > > smartos-discuss | Archives | Modify Your Subscription ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
