Am 2014-01-30 11:21, schrieb Aryeh Friedman:
So something like this in pkg-install?

cat - << EOF > /usr/local/etc/sudoers.d/petitecloud
Cmnd_Alias PETITECLOUD = /usr/sbin/service petitecloud stop,
 /usr/sbin/service petitecloud start, /usr/sbin/service petitecloud
restart
 www ALL=(ALL) NOPASSWD: PETITECLOUD
EOF

note this will be 0.2.4 which I am planning some other changes for
also like making the petitecloud account and /usr/local/etc/rc.d
optoinal and will need to ask (on the right list this time ;-)) how to
do that best



I'd rather create the file as files/petitecloud.in and manually install it
with the post-install: target.


_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to