DD.WellWorkover.Cloud/AsbCloudWebApi/AsbCloudWebApi.service

19 lines
479 B
SYSTEMD
Raw Normal View History

[Unit]
Description=ASB Vision Rest Service [.net core]
Requires=config
# After=discovery
[Service]
User=root
# The configuration file application.properties should be here:
# change this to your workspace
WorkingDirectory=/home/soltex/cloud2/rest
#path to executable.
#executable is a bash script which calls jar file
ExecStart=/home/soltex/cloud2/rest/AsbCloudWebApi
SuccessExitStatus=0
TimeoutStopSec=20
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target