diff --git a/usr/share/dist/etc/skel/Library/LaunchAgents/cloud.telebit.remote.plist.tpl b/usr/share/dist/etc/skel/Library/LaunchAgents/cloud.telebit.remote.plist.tpl new file mode 100644 index 0000000..37f1072 --- /dev/null +++ b/usr/share/dist/etc/skel/Library/LaunchAgents/cloud.telebit.remote.plist.tpl @@ -0,0 +1,70 @@ + + + + + Label + Telebit Remote + + ProgramArguments + + {TELEBIT_PATH}/bin/node + {TELEBIT_PATH}/bin/telebitd.js + daemon + --config + {TELEBIT_CONFIG_PATH} + + + EnvironmentVariables + + TELEBIT_PATH + {TELEBIT_PATH} + NODE_PATH + {TELEBIT_PATH}/lib/node_modules + NPM_CONFIG_PREFIX + {TELEBIT_PATH} + + + + + RunAtLoad + + KeepAlive + + + + + + WorkingDirectory + {TELEBIT_PATH} + + StandardErrorPath + {TELEBIT_PATH}/var/log/error.log + StandardOutPath + {TELEBIT_PATH}/var/log/info.log + +