Services Location information
Digi Connect IT® 16/48 User Guide
394
ii. To log the output of the script to the system log:
(config service location geofence test_geofence on_exit action
0)> syslog_stdout true
(config service location geofence test_geofence on_exit action
0)>
iii. To log the errors from the script to the system log:
(config service location geofence test_geofence on_exit action
0)> syslog_stderr true
(config service location geofence test_geofence on_exit action
0)>
iv. (Optional) Set the maximum amount of system memory that will be available
for the script and it spawned processes:
(config service location geofence test_geofence on_exit action
0)> max_memory value
(config service location geofence test_geofence on_exit action
0)>
where value is any integer followed by one of the following:
b|bytes|KB|k|MB|M|GB|G|TB|T.
For example. the allocate one megabyte of memory to the script and its
spawned processes:
(config service location geofence test_geofence on_exit action
0)> max_memory 1MB
(config service location geofence test_geofence on_exit action
0)>
v. A sandbox is enabled by default to prevent the script from adversely affecting
the system. To disable the sandbox:
(config service location geofence test_geofence on_exit action
0)> sandbox false
(config service location geofence test_geofence on_exit action
0)>
If you disable the sandbox, the script may render the system unusable.
vi. Repeat for any additional actions.
7. Save the configuration and apply the change:
(config)> save
Configuration saved.
>
8. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.