Skip to content

Instantly share code, notes, and snippets.

@n8henrie
Created March 28, 2016 19:19
Show Gist options
  • Save n8henrie/996bd2b9b309fe6011a3 to your computer and use it in GitHub Desktop.
Save n8henrie/996bd2b9b309fe6011a3 to your computer and use it in GitHub Desktop.
CrashPlan systemd service file for Raspbian Jessie
# /etc/systemd/system/crashplan.service
[Unit]
Description=CrashPlan
After=network-online.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/usr/local/crashplan/CrashPlanEngine.pid
EnvironmentFile=/usr/local/crashplan/bin/run.conf
WorkingDirectory=/usr/local/crashplan
ExecStart=/usr/local/crashplan/bin/CrashPlanEngine start
ExecStop=/usr/local/crashplan/bin/CrashPlanEngine stop
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
@superian
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment