Navigation Menu

Skip to content

Commit

Permalink
deb: don't restart when gcs isn't running
Browse files Browse the repository at this point in the history
service status always returns 0. :<
  • Loading branch information
kou committed Aug 15, 2012
1 parent 11014de commit 47fe16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/debian/gcs.logrotate
Expand Up @@ -8,6 +8,6 @@
create 640 gcs gcs
sharedscripts
postrotate
service gcs status && service gcs restart
service gcs status | grep --quiet stop || service gcs restart
endscript
}

0 comments on commit 47fe16d

Please sign in to comment.