From 44c3e9049c6d973c3f0df05bceba8983385eba2f Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Tue, 2 Oct 2018 10:03:21 -0400 Subject: [PATCH 1/2] FIX: Fixing typo in init-scripts systemd readme --- init-scripts/systemd/read.me | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-scripts/systemd/read.me b/init-scripts/systemd/read.me index 272ff980..3d245788 100644 --- a/init-scripts/systemd/read.me +++ b/init-scripts/systemd/read.me @@ -3,7 +3,7 @@ Instructions on setting up mylar as a systemd serivce that will run on startup/v 1 - copy the mylar.service to /lib/systemd/system/mylar.service 2 - create a symbolic link to it: ln -s /lib/systemd/system/mylar.service /etc/systemd/system/mylar.service 3 - copy mylar.default to /etc/default/mylar (make sure it's renamed from mylar.default to just mylar) -4 - copy mylar.nitd to /etc/init.d/mylar (rename it to just mylar) and then 'sudo chmod +x /etc/init.d/mylar' +4 - copy mylar.initd to /etc/init.d/mylar (rename it to just mylar) and then 'sudo chmod +x /etc/init.d/mylar' 5 - edit the /etc/default/mylar file to your defaults (make sure to set MYLAR_USER & MYLAR_HOME as they're required) 6 - make systemd aware of new services: sudo sytemctl daemon-reload 7 - sudo systemctl enable mylar From c4ff8d557d88c80337a2f4e7d26f220bade707cb Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Tue, 2 Oct 2018 10:04:34 -0400 Subject: [PATCH 2/2] FIX: Fixing mylar.initd format error --- init-scripts/systemd/mylar.initd | 1 + 1 file changed, 1 insertion(+) diff --git a/init-scripts/systemd/mylar.initd b/init-scripts/systemd/mylar.initd index 6fdff562..70bd2361 100755 --- a/init-scripts/systemd/mylar.initd +++ b/init-scripts/systemd/mylar.initd @@ -1,3 +1,4 @@ +#!/usr/bin/env # Script name NAME=mylar