Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JoeDupuis/e976b40be22ec6e0d1a0 to your computer and use it in GitHub Desktop.
Save JoeDupuis/e976b40be22ec6e0d1a0 to your computer and use it in GitHub Desktop.
Crashplan-pro [PATCH] Prevent systemd from killing the service on update
From 8328cf989bd9141451910f4c8746eb00a4b1b07a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A9=20Dupuis?= <joe.dupuis@anhero.net>
Date: Thu, 10 Mar 2016 19:55:05 -0500
Subject: [PATCH] Prevent systemd from killing the service on update
---
PKGBUILD | 4 ++--
crashplan-pro.service | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index a3869d7..e53fc00 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Bill Durr <billyburly [at] gmail [dot] com>
pkgname=crashplan-pro
pkgver=4.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="An business online/offsite backup solution"
url="http://www.crashplan.com/business"
arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@ source=(http://download1.us.code42.com/installs/linux/install/CrashPlanPRO/Crash
crashplan-pro.service)
sha256sums=('bc0431ed094c65643e8b2d25f2e5f15484c4c48a80b97da8c8183afe2be05895'
'b306d7da0dd41341512ce80ddcfb21bff8a9bb73ab5018696e69d08b89f7f1b6'
- 'd8667e149439e4c6f35779a6d04ce5215530049579011eb1db5feb2d6976420e')
+ 'ebcda57c86809d9dfe4644a9cc939dcc8c83818585f88a996196bdee34418142')
build() {
cd $srcdir/crashplan-install
diff --git a/crashplan-pro.service b/crashplan-pro.service
index ddf5d54..d98370d 100644
--- a/crashplan-pro.service
+++ b/crashplan-pro.service
@@ -5,6 +5,7 @@ After=network.target
[Service]
Type=forking
+RemainAfterExit=yes
PIDFile=/opt/crashplan-pro/CrashPlanEngine.pid
EnvironmentFile=/opt/crashplan-pro/bin/run.conf
--
2.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment