blob: a66496eec3f621d876b162089cb1675418e7d047 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
mac has a feature called "security context" which causes the node to fail resolving domains after a while.
see e.g: http://osdir.com/ml/unix-porting/2010-05/msg00000.html
symptoms:
- works as long the console which invoked the script is up
- works until process goes in background
possible workarounds:
- invoke as: /usr/libexec/StartupItemContext ./script.sh
- run as root
- run with launchd
(i tried the first option... lets see if it works)
|