Changeset 27
- Timestamp:
- Oct 9, 2006, 9:51:47 PM (18 years ago)
- Location:
- server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/execsys/execsys-binfmt.pre
r1 r27 3 3 # execsys-binfmt: test1 4 4 # 5 # chkconfig: 2345 2 9 95 # chkconfig: 2345 2 98 6 6 # description: test2 7 7 # 8 8 9 mount -t binfmt_misc none /proc/sys/fs/binfmt_misc 10 echo "-1" > /proc/sys/fs/binfmt_misc/status 9 stop () 10 { 11 echo "-1" > /proc/sys/fs/binfmt_misc/status 12 umount /proc/sys/fs/binfmt_misc 13 } 11 14 15 start () 16 { 17 mount -t binfmt_misc none /proc/sys/fs/binfmt_misc 12 18 # START-AUTOGENERATED: DO NOT EDIT THIS SECTION, INCLUDING THIS LINE! 13 19 # This section is populated by the script upd-execsys 14 20 # END-AUTOGENERATED: DO NOT EDIT THIS SECTION, INCLUDING THIS LINE! 21 } 22 23 case "$1" in 24 start) 25 stop 2>/dev/null || : 26 start 27 ;; 28 stop) 29 stop 30 ;; 31 restart) 32 stop 33 start 34 ;; 35 *) 36 echo "Usage: $0 [start|stop|restart]" >&2 37 exit 2 38 ;; 39 esac 40 41 exit $? -
server/common/oursrc/execsys/execsys.conf
r1 r27 10 10 11 11 <Files *.py> 12 SetHandler cgi-script 13 Options +ExecCGI 14 </Files> 15 16 <Files *.cgi> 12 17 SetHandler cgi-script 13 18 Options +ExecCGI -
server/fedora/specs/execsys.spec
r1 r27 43 43 /etc/init.d/execsys-binfmt 44 44 45 %post 46 chkconfig --add execsys-binfmt 47 service execsys-binfmt start 48 49 %preun 50 service execsys-binfmt stop 51 chkconfig --del execsys-binfmt 52 45 53 %changelog 46 54
Note: See TracChangeset
for help on using the changeset viewer.