Skip to content

Starting and stopping a headless SpiderOak process has never been easier!

License

Notifications You must be signed in to change notification settings

johnsimcall/spideroakgroups-systemd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spideroak-systemd

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

Installation

  1. cp [email protected] /usr/lib/systemd/system/
  2. systemctl enable SpiderOak@USERNAME --now

Optionally, copy or create ~/.SpiderOakrc with ARGS="--something"

Configuration

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.

Multi-user support

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].

About

Starting and stopping a headless SpiderOak process has never been easier!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%