DD.WellWorkover.Cloud/AsbCloudWebApi/AsbCloudWebApi.service

19 lines
488 B
SYSTEMD
Raw Normal View History

2021-09-06 10:10:36 +05:00
[Unit]
Description=ASB Vision
After=network-online.target postgresql.service
Wants=network-online.target
[Service]
2021-09-06 10:10:36 +05:00
User=soltex
# The configuration file application.properties should be here:
# change this to your workspace
2021-09-06 10:10:36 +05:00
WorkingDirectory=/home/soltex/AsbCloud
#path to executable.
#executable is a bash script which calls jar file
2021-09-06 10:10:36 +05:00
ExecStart=/home/soltex/AsbCloud/AsbCloudWebApi
SuccessExitStatus=0
TimeoutStopSec=20
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target