DD.WellWorkover.Cloud/AsbCloudWebApi/AsbCloudWebApi.service
2021-04-02 17:28:07 +05:00

19 lines
479 B
Desktop File

[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