Changeset 2627 for trunk


Ignore:
Timestamp:
Dec 17, 2009, 5:29:59 PM (15 years ago)
Author:
broder
Message:

Use the systemv init script instead of an upstart job.

Hardy's upstart apparently can't detect newly installed jobs without a
reboot.

Location:
trunk/packages/invirt-dev/debian
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/debian/invirt-dev.dirs

    r2625 r2627  
    1 etc/event.d
    21var/lib/invirt-dev/queue
    32var/log/invirt/builds
  • trunk/packages/invirt-dev/debian/invirt-dev.init

    r2618 r2627  
    3030    reprepro-env export || ret=2
    3131    invirt-build-conf || ret=2
     32    daemon -n invirt-dev-git-daemon -- git daemon \
     33        --user=git \
     34        --group=nogroup \
     35        --syslog \
     36        --verbose \
     37        --reuseaddr \
     38        --export-all \
     39        --base-path=/srv/git \
     40        /srv/git || ret=$?
    3241
    3342    return $ret
     
    3645do_stop()
    3746{
    38     :
     47    daemon -n invirt-dev-git-daemon --stop
     48    return $?
    3949}
    4050
  • trunk/packages/invirt-dev/debian/rules

    r2626 r2627  
    66include /usr/share/cdbs/1/class/python-distutils.mk
    77
    8 install/invirt-dev::
    9         cp debian/invirt-dev.upstart debian/invirt-dev/etc/event.d/invirt-dev
    10 
    118clean::
    129        rm -rf python/invirt.builder.egg-info
Note: See TracChangeset for help on using the changeset viewer.