This unit file allows you to automatically start gitlabfs as a systemd unit. ## Install 1. Install gitlabfs using `go get` 2. Run `which gitlabfs` to verify that gitlabfs is present in your PATH. if the command fail, you may need to add **$HOME/go/bin** to your PATH. 3. Copy **gitlabfs@.service** into **~/.config/systemd/user**. Create the folder if it does not exists. 4. Reload systemd: `systemctl --user daemon-reload` ## Usage 1. Create your gitlabfs config file in **~/.config/gitlabfs** eg: **~/.config/gitlabfs/gitlab.com.yaml**. Make sure the config file name ends with **.yaml** and a mountpoint is configured in the file. 2. Start your service with `systemctl --user start gitlabfs@.service`. eg: `systemctl --user start gitlabfs@gitlab.com.service`. Omit the **.yaml** in the name of the service. 3. Enable your service start on login with `systemctl --user enable gitlabfs@.service`. eg: `systemctl --user enable gitlabfs@gitlab.com.service`