Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vl-gitfs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rolf Niepraschk
vl-gitfs
Commits
5e37a296
Commit
5e37a296
authored
4 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
d96e6a9d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+17
-2
17 additions, 2 deletions
README.md
vl-gitfs.service
+5
-0
5 additions, 0 deletions
vl-gitfs.service
with
22 additions
and
2 deletions
README.md
+
17
−
2
View file @
5e37a296
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
vl-gitfs.service
+
5
−
0
View file @
5e37a296
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment