Skip to content
Snippets Groups Projects
Commit 5e37a296 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

test

parent d96e6a9d
No related branches found
No related tags found
No related merge requests found
......@@ -19,9 +19,23 @@ zypper in python3-pip-tools python3-devel libffi-devel libgit2-devel
apt install python3-pip-tools python3-dev libffi-dev libgit2-dev
```
#### fuser permission
Uncomment
```
user_allow_other
```
in `/etc/fuse.conf`
### Python modules
mkdir -p ./mnt # ???
mkdir -p /usr/local/share/vl-gitfs
###chown nobody /var/run/mount/vl-gitfs
###chmod u+rwe /var/run/mount/vl-gitfs
mkdir /var/lib/gitfs
###chmod 777 /var/lib/gitfs
python3 -m venv ./
source bin/activate
# only necessary once
......@@ -33,7 +47,8 @@ pip3 install ordered_set
# after every editing of requirements.in
pip-compile
pip-sync
pip-sync
chown -R nobody.nogroup /usr/local/share/vl-gitfs
```
## Automatic mounting
......
......@@ -3,9 +3,14 @@ Description=Mount the CouchDB Git repository
[Service]
Type=simple
#User=nobody
WorkingDirectory=/usr/local/share/vl-gitfs
Environment=HOME=%h
Environment=FROM=/home/vl_db2git/
Environment=TO=/var/run/mount/vl-gitfs
ExecStartPre=/bin/mkdir -p ${TO}
ExecStart=/bin/bash -lc "./doMount ${FROM} ${TO}"
ExecStop=/usr/bin/fusermount -zu ${TO}
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment