summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libubuntuone/files/u1-syncdaemon')
-rw-r--r--x11-libs/libubuntuone/files/u1-syncdaemon13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/libubuntuone/files/u1-syncdaemon b/x11-libs/libubuntuone/files/u1-syncdaemon
new file mode 100644
index 000000000..d3fdf1357
--- /dev/null
+++ b/x11-libs/libubuntuone/files/u1-syncdaemon
@@ -0,0 +1,13 @@
+#!/sbin/runscript
+
+depend() {
+ need net dbus
+}
+
+start() {
+ start-stop-daemon --start --exec /usr/libexec/ubuntuone-syncdaemon --make-pidfile --pidfile /var/run/u1sd.pid -u $U1SD_USER -g $U1SD_GROUP
+}
+
+stop() {
+ start-stop-daemon --stop --exec /usr/libexec/ubuntuone-syncdaemon --pidfile /var/run/u1sd.pid
+}