mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-24 00:51:38 +00:00
Use symbolic link instead of copy
This commit is contained in:
parent
bce29f3995
commit
b124788960
|
@ -36,7 +36,7 @@ main = xmonad defaultConfig
|
||||||
description = "Create and xmonad configuration";
|
description = "Create and xmonad configuration";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs";
|
ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs";
|
||||||
ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && cp /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'";
|
ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -s /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'";
|
||||||
RemainAfterExit = "yes";
|
RemainAfterExit = "yes";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "user";
|
User = "user";
|
||||||
|
|
Loading…
Reference in a new issue