Subversion Repositories SmartDukaan

Rev

Rev 23732 | Rev 23736 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23725 amit.gupta 1
[Unit]
2
Description=Cron Service
3
[Service]
4
User=root
5
# The configuration file application.properties should be here:
6
#change this to your workspace
7
WorkingDirectory=.
8
#path to executable. 
9
#executable is a bash script which calls jar file
23735 amit.gupta 10
ExecStart=/root/code/runutils/run-cron.sh
23725 amit.gupta 11
SuccessExitStatus=143
12
TimeoutStopSec=10
13
Restart=on-failure
14
RestartSec=5
15
[Install]
16
WantedBy=multi-user.target