[Unit] Description=LnXall Energy Management System [Service] Environment=LANG=zh_CN.UTF-8 Environment=LC_ALL=zh_CN.UTF-8 Type=simple User=root Restart=on-failure RestartSec=15s ExecStart=/bin/bash /opt/lnxall_app/bin/emsd_startup.sh KillMode=control-group KillSignal=SIGINT SendSIGKILL=yes TimeoutStopSec=15 #StandardOutput=syslog+console #StandardError=syslog+console LimitNOFILE=65535 [Install] WantedBy=multi-user.target