From 5be4eff6bf8739ce613921886c3dddb4088d03fb Mon Sep 17 00:00:00 2001 From: Kyle Kaminski Date: Wed, 27 Aug 2014 18:40:08 -0500 Subject: document LAMP stack on archlinux fused to macosx's partition --- macbook/local.service | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'macbook/local.service') diff --git a/macbook/local.service b/macbook/local.service index ddf2555..bf4fba0 100644 --- a/macbook/local.service +++ b/macbook/local.service @@ -1,10 +1,13 @@ -# place to /etc/systemd/system/local.service - [Unit] Description=Run local commands after boot +ConditionFileIsExecutable=/usr/bin/local.sh [Service] +Type=oneshot +# below is needed otherwise ExecStop would execute right after start and unmount +RemainAfterExit=Yes ExecStart=/usr/bin/local.sh +ExecStop=/usr/bin/umount /mnt/mac-bind [Install] WantedBy=multi-user.target -- cgit v1.2.3