Skip to content
Snippets Groups Projects
Verified Commit dfbf9972 authored by ynerant's avatar ynerant
Browse files

By default, automatically change directory to /var/www/note_kfet and source...

By default, automatically change directory to /var/www/note_kfet and source the Python virtual environment in the .bashrc file

Signed-off-by: default avatarYohann D'ANELLO <yohann.danello@gmail.com>
parent b5f3b3ff
No related branches found
No related tags found
1 merge request!144Fix js strings
Pipeline #8831 passed with stages
in 16 minutes and 56 seconds
......@@ -36,3 +36,13 @@
dest: /etc/cron.d/note
owner: root
group: root
- name: Set default directory to /var/www/note_kfet
lineinfile:
path: /etc/skel/.bashrc
line: 'cd /var/www/note_kfet'
- name: Automatically source Python virtual environment
lineinfile:
path: /etc/skel/.bashrc
line: 'source /var/www/note_kfet/env/bin/activate'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment