File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ --root /data
2+ --hide lost+found
3+ --access-log /var/log/ghfs/access.log
4+ --error-log /var/log/ghfs/error.log
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Go http file server
3+ After =network.target
4+
5+ [Service]
6+ Type =simple
7+ ExecStart =/usr/local/bin/ghfs --config =/etc/ghfs.conf
8+ ExecReload =/bin/kill -s HUP $MAINPID
9+ KillSignal =SIGTERM
10+ KillMode =process
11+
12+ [Install]
13+ WantedBy =multi-user.target
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Go http file server
3+ After =network.target
4+
5+ [Service]
6+ Type =simple
7+ ExecStart =/usr/local/bin/ghfs --config =/etc/ghfs_%I.conf
8+ ExecReload =/bin/kill -s HUP $MAINPID
9+ KillSignal =SIGTERM
10+ KillMode =process
11+
12+ [Install]
13+ WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments