Changeset 1a64229
- Timestamp:
- 03/26/2022 10:06:17 PM (2 years ago)
- Branches:
- arm
- Children:
- b00d379
- Parents:
- 5441724
- git-author:
- Pierre Labastie <pierre.labastie@…> (03/22/2022 10:30:52 AM)
- git-committer:
- William Harrington <kb0iic@…> (03/26/2022 10:06:17 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/template
r5441724 r1a64229 31 31 start) 32 32 log_info_msg "Starting..." 33 # if it is possible to use start_daemon 33 34 start_daemon fully_qualified_path 35 # if it is not possible to use start_daemon 36 # (command to start the daemon is not simple enough) 37 if ! pidofproc daemon_name_as_reported_by_ps >/dev/null; then 38 command_to_start_the_service 39 fi 40 evaluate_retval 34 41 ;; 35 42 36 43 stop) 37 44 log_info_msg "Stopping..." 45 # if it is possible to use killproc 38 46 killproc fully_qualified_path 47 # if it is not possible to use killproc 48 # (the daemon shoudn't be stopped by killing it) 49 if pidofproc daemon_name_as_reported_by_ps >/dev/null; then 50 command_to_stop_the_service 51 fi 52 evaluate_retval 39 53 ;; 40 54
Note:
See TracChangeset
for help on using the changeset viewer.