Blame dev/ansible/roles/pagure-dev/files/bashrc

Jeremy Cline 4e3668
# .bashrc
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# Source global definitions
Jeremy Cline 4e3668
if [ -f /etc/bashrc ]; then
Jeremy Cline 4e3668
    . /etc/bashrc
Jeremy Cline 4e3668
fi
Jeremy Cline 4e3668
Alex Gleason 6656f7
# Always use the virtualenv
Akanksha 4d6eb3
workon python3-pagure
Alex Gleason 6656f7
Alex Gleason 6656f7
# To avoid confusion, start in the `devel` directory
Alex Gleason 6656f7
cd devel
Alex Gleason 6656f7
Jeremy Cline 4e3668
# Uncomment the following line if you don't like systemctl's auto-paging feature:
Jeremy Cline 4e3668
# export SYSTEMD_PAGER=
Jeremy Cline 4e3668
Jeremy Cline 4e3668
# User specific aliases and functions
Jeremy Cline 4e3668
# If adding new functions to this file, note that you can add help text to the function
Jeremy Cline 4e3668
# by defining a variable with name _<function>_help containing the help text</function>
Jeremy Cline 4e3668
Jeremy Cline 4e3668
export PAGURE_CONFIG=~/pagure.cfg
Jeremy Cline 4e3668
Jeremy Cline 4e3668
pstart (){
Jeremy Cline c82c27
    systemctl --user start pagure.service pagure-docs.service pagure_ci.service\
Clement Verna e0a259
        pagure_ev.service pagure_webhook.service pagure_worker.service
Clement Verna 5ecabd
    echo 'The application is running on http://localhost:5000/'
Jeremy Cline 4e3668
}
Jeremy Cline 4e3668
Jeremy Cline 4e3668
pstop (){
Jeremy Cline c82c27
    systemctl --user stop pagure.service pagure-docs.service pagure_ci.service\
Clement Verna e0a259
        pagure_ev.service pagure_webhook.service pagure_worker.service
Jeremy Cline 4e3668
}
Jeremy Cline 4e3668
Jeremy Cline 4e3668
prestart (){
Jeremy Cline c82c27
    systemctl --user restart pagure.service pagure-docs.service pagure_ci.service\
Clement Verna e0a259
        pagure_ev.service pagure_webhook.service pagure_worker.service
Clement Verna 5ecabd
    echo 'The application is running on http://localhost:5000/'
Jeremy Cline c82c27
}
Jeremy Cline c82c27
Jeremy Cline c82c27
pstatus (){
Clement Verna 5ecabd
    systemctl --user status pagure.service pagure-docs.service pagure_ci.service\
Clement Verna e0a259
        pagure_ev.service pagure_webhook.service pagure_worker.service
Jeremy Cline 4e3668
}