Changeset 1636
- Timestamp:
- 01/29/05 17:01:39 (4 years ago)
- Files:
-
- trackerd/trunk/Makefile.in (modified) (1 diff)
- trackerd/trunk/man/trackerdctl.1 (modified) (2 diffs)
- trackerd/trunk/trackerd/trackerdctl.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trackerd/trunk/Makefile.in
r1607 r1636 87 87 echo "to restart a running tracker."; \ 88 88 else \ 89 if [ ! -f $(prefix)/$(trackerddir)/etc/certificate.pem ]; then \ 90 $(prefix)/$(trackerddir)/trackerdctl certificate.pem; \ 91 fi; \ 92 \ 89 93 echo ""; \ 90 94 echo "Installation complete!"; \ trackerd/trunk/man/trackerdctl.1
r286 r1636 64 64 .It Va configtest 65 65 Runs a configuration syntax test, to verify that the config file will be accepted. 66 .It Va certificate 67 Generates a new OpenSSL certificate using 68 .Xr req 1 . 66 69 .It Va status 67 70 Prints a status summary. … … 83 86 .Sh SEE ALSO 84 87 .Xr trackerd 8 , 85 .Xr tracker d.conf 588 .Xr trackera.conf 5 trackerd/trunk/trackerd/trackerdctl.in
r291 r1636 9 9 # The path to your status file, should be the same as in your trackerd.conf 10 10 STATUSFILE="@trackerddir@/trackerd.status" 11 12 # The path to your certificate, should be the same as in your trackerd.conf 13 CERTIFICATE="@trackerddir@/etc/certificate.pem" 11 14 12 15 # The path to your trackerd binary … … 115 118 configtest) 116 119 $TRACKERD -t 120 ;; 121 122 certificate) 123 HOSTNAME=$(hostname) 124 openssl req -x509 -newkey rsa:1024 -subj "/CN=$HOSTNAME" -days 365 -nodes -keyout $CERTIFICATE -out $CERTIFICATE 117 125 ;; 118 126 … … 194 202 195 203 *) 196 echo "Usage: $PROG [start | stop | restart | reload | config | configtest | status | help]"204 echo "Usage: $PROG [start | stop | restart | reload | config | configtest | certificate | status | help]" 197 205 cat <<EOF 198 206 199 start start trackerd 200 stop stop trackerd 201 restart restart trackerd 202 reload send trackerd a SIGHUP, causing it to reload its configuration 203 config show the configuration 204 configtest run a configuration syntax test 205 status show a status screen 206 help display this information 207 start start trackerd 208 stop stop trackerd 209 restart restart trackerd 210 reload send trackerd a SIGHUP, causing it to reload its configuration 211 config show the configuration 212 configtest run a configuration syntax test 213 certificate generate a new OpenSSL certificate 214 status show a status screen 215 help display this information 207 216 208 217 By Axel Andersson <axel@zankasoftware.com>
