Verified with SpiderOakGroups v7.1.0.10202
TODO - Merge [email protected] and [email protected] into a single file that can call the correct binary
This project provides a systemd unit file for the SpiderOak / SpiderOakGroups backup agent. This is based off the work done by funnelfiasco and hv15.
This repository includes the following files:
- COPYING.md -- the license (public domain where applicable, CC0 elsewhere)
- README.md -- this file
- .SpiderOakrc -- the configuration file
- [email protected] -- the systemd service file
cp [email protected] /usr/lib/systemd/system/
systemctl enable SpiderOak@USERNAME --now
Optionally, copy or create ~/.SpiderOakrc with ARGS="--something"
Configuration is handled through ~USERNAME/.SpiderOakrc
. The systemd service will use the ARG
variable to pass options to the SpiderOak process. '--headless' is automatically included and so does not need to be specified in ARG
.
Note: the scripts and configuration do not perform any sanity-checking on your behalf. For the security of your system and data, ensure that files have the proper ownership and permissions.
The provided .service
file is a template. The text between the @
and .
symbols is for specifying a user name that SpiderOak should be launched as. Thus to start SpiderOak for both user 'funnel' and user 'fiasco' you would run:
# cp [email protected] /usr/lib/systemd/system/
# systemctl enable SpiderOak@funnel --now
Created symlink from /etc/systemd/system/multi-user.target.wants/[email protected] to /usr/lib/systemd/system/[email protected].
# systemctl enable SpiderOak@fiasco --now
Created symlink from /etc/systemd/system/multi-user.target.wants/[email protected] to /usr/lib/systemd/system/[email protected].