Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
371 B

[Unit]
Description=${pkg.name}
After=syslog.target
[Service]
User=${pkg.user}
ExecStart=${pkg.installFolder}/bin/${pkg.name}.jar
SuccessExitStatus=143
# Service shall be restarted in 30 seconds when the service process exits, is killed, or a timeout is reached.
# Restart parameter default value 'no'
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target