Skip to content

Commit

Permalink
added chkconfig to service script
Browse files Browse the repository at this point in the history
  • Loading branch information
willjasen committed Jan 3, 2015
1 parent 7b39e9f commit 9b3082f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/BitTorrentSync.template
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@
"/etc/init.d/btsync" : {
"content" : { "Fn::Join" : ["", [
"#!/bin/sh\n",
"# chkconfig: 12345 97 97\n",
"# description: BitTorrent Sync\n\n",
"case \"$1\" in\n",
"start)\n",
" /secure/btsync --config /secure/btsync.conf\n",
Expand Down

0 comments on commit 9b3082f

Please sign in to comment.