Re: [OpenIndiana-discuss] force svc stop and start when changing SMF property

2015-05-11 Thread Krzysztof Grzempa
/usr/sbin/*svcadm* [-v] *refresh* { FMRI | pattern }

??

2015-05-06 10:59 GMT+02:00 wessels wessels...@gmail.com:

 Hi,

 suppose I want to change the portnumber or path of a SMF controlled
 service. No problem, but when I do change the property I can no longer
 reach the service because it's still running using it's o
 previous port or path. Is there an attribute or some way to let SMF stop
 the service (with the old values), set the new values, and restart the
 service? Without creating a wrapper to stop, set, start.

 Thanks,
 Wes
 ___
 openindiana-discuss mailing list
 openindiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] force svc stop and start when changing SMF property

2015-05-06 Thread wessels
Hi,

suppose I want to change the portnumber or path of a SMF controlled
service. No problem, but when I do change the property I can no longer
reach the service because it's still running using it's o
previous port or path. Is there an attribute or some way to let SMF stop
the service (with the old values), set the new values, and restart the
service? Without creating a wrapper to stop, set, start.

Thanks,
Wes
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss