feat: usermode systemd service setup script #3
Loading…
Reference in a new issue
No description provided.
Delete branch "nextcloud-fuse-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
scripts/install-service.sh: interactive bash script that installsnextcloudfsas a per-user systemd service.~/.config/nextcloud-fuse/config.toml(0600, TOML-escaped) with server/username/password/remote_path; copies the built binary to~/.local/bin/nextcloudfs; writes~/.config/systemd/user/nextcloud-fuse.service(Restart=on-failure, StartLimit in [Unit], WantedBy=default.target) andenable --now.install(default),update(re-copy binary + restart, ETXTBSY-safe via temp-file rename),start|stop|restart|status,logs,uninstall(keeps config/mount dir).tests/install-service-test.sh: harness with fake systemctl + isolated HOME, 53 assertions incl. TOML round-trip, ETXTBSY regression, and error paths.Test Plan
bash tests/install-service-test.sh)