summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-10-18 14:43:24 -0400
committerJoey Hess <joeyh@joeyh.name>2016-10-18 14:43:24 -0400
commita2bdcb74d46c3b1002df03365330772a049c5173 (patch)
tree269df7b9b14a3203b03bd7434ebb8cc51f02741a /Makefile
parentb519bf51580695e881f5e6766253e0f5e88a9a7e (diff)
downloadkeysafe-a2bdcb74d46c3b1002df03365330772a049c5173.tar.gz
Added a LSB init script, for non-systemd systems.
(It currently uses Debian's start-stop-daemon, so would need porting for other distributions.) This commit was sponsored by Fernando Jimenez on Patreon.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index da28d31..32bc244 100644
--- a/Makefile
+++ b/Makefile
@@ -32,5 +32,7 @@ install-files: keysafe
install -m 0644 keysafe.service $(PREFIX)/lib/systemd/system/keysafe.service
install -d $(PREFIX)/usr/share/applications/
install -m 0644 keysafe.desktop $(PREFIX)/usr/share/applications/keysafe.desktop
+ install -d $(PREFIX)/etc/init.d
+ install -m 0755 keysafe.init $(PREFIX)/etc/init.d/keysafe
install -d $(PREFIX)/etc/xdg/autostart/
install -m 0644 keysafe.autostart $(PREFIX)/etc/xdg/autostart/keysafe.desktop