ap: use upstart instead of SySV init
ci.sh: upload only if APTIREPO_REMOTE is defined