diff --git a/o2server/service_linux.sh b/o2server/service_linux.sh index 02d9bd7a7f13312cee3d4ce1016912fa5140d081..e22a6d554e5c6b77ffc96ef1c3546dd19af2114c 100755 --- a/o2server/service_linux.sh +++ b/o2server/service_linux.sh @@ -24,6 +24,8 @@ echo "Wants=network-online.target" >>${servicePath} echo "After=network.target" >>${servicePath} echo "[Service]" >>${servicePath} echo "Type=simple" >>${servicePath} +echo "StandardOutput=null" >>${servicePath} +echo "StandardError=null" >>${servicePath} echo "ExecStart=${current_dir}/${scriptName}" >>${servicePath} echo "ExecReload=${current_dir}/restart_linux.sh" >>${servicePath} echo "ExecStop=${current_dir}/stop_linux.sh" >>${servicePath}