# DocumentServer
# Copy me into /etc/event.d

# Commenting this out prevents restart after crash, which is OK because the client
# doesn't know how to renew an existing connection.  Otherwise, the OfficeService
# process sits around waiting to timeout.  Only applies to running service dynamically.
#start on stopped finish

# Stop when the Software Update tool is about to install an update.  The tool
# uses upstart to restart jobs when the installation is complete.
stop on started start_update

description "DocumentServer Daemon"

#start on started PmNetConfigManager
exec /usr/bin/OfficeService

# Comment out 'respawn' for dynamic service
#respawn
