diff options
author | Kyle Kaminski <kyle@xenomedia.com> | 2014-08-27 18:40:08 -0500 |
---|---|---|
committer | Kyle Kaminski <kyle@xenomedia.com> | 2014-08-27 18:40:08 -0500 |
commit | 5be4eff6bf8739ce613921886c3dddb4088d03fb (patch) | |
tree | eda6de2f59346444bd68e3001b53d5265e77bf75 /macbook/local.service | |
parent | 6ae7ecf02379eac1d159858c20654b4956a097d7 (diff) | |
download | configs-5be4eff6bf8739ce613921886c3dddb4088d03fb.tar.gz configs-5be4eff6bf8739ce613921886c3dddb4088d03fb.tar.bz2 configs-5be4eff6bf8739ce613921886c3dddb4088d03fb.zip |
document LAMP stack on archlinux fused to macosx's partition
Diffstat (limited to 'macbook/local.service')
-rw-r--r-- | macbook/local.service | 7 |
1 files changed, 5 insertions, 2 deletions
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 |