Subversion Repositories SmartDukaan

Rev

Rev 23736 | Blame | Compare with Previous | Last modification | View Log | RSS feed

[Unit]
Description=Cron Service
[Service]
User=root
# The configuration file application.properties should be here:
#change this to your workspace
WorkingDirectory=/root/code/trunk/runutils/
#path to executable. 
#executable is a bash script which calls jar file
ExecStart=/root/code/trunk/runutils/run-cron.sh
SuccessExitStatus=143
TimeoutStopSec=10
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target