Updated Gems, improved quote retrieval
[smr.git] / gui / script / smr-quoteupdate.service
blob6ca5a25b41de38e50062ae0f02b6bd51084f414f
1 [Unit]
2  Description=SMR Quote Updates
3  After=network-online.target
4  ConditionPathExists=/var/lib/smr/smr/gui
6 [Service]
7  Type=simple
8  User=smr
9  ExecStart=/usr/bin/rake smr:update_quotes RAILS_ENV=production
10  WorkingDirectory=/var/lib/smr/smr/gui
11  TimeoutStopSec=180
12  KillMode=process
13  KillSignal=SIGINT
15 [Install]
16  WantedBy=multi-user.target