mize daemon service and some timetrack stuff as well
This commit is contained in:
8
md
8
md
@@ -30,12 +30,12 @@ function deploy_lush {
|
||||
if ! tmux has-session -t ppc-deploy 2>/dev/null; then
|
||||
echo "Created new tmux session...."
|
||||
tmux new-session -d -s ppc-deploy "nix develop git+file:///home/me/here/mize#buildShell"
|
||||
tmux send-keys -t ppc-deploy "cargo build --featuers desktop --manifest-path /home/me/here/mize/packages/ppc/Cargo.toml" Enter
|
||||
tmux send-keys -t ppc-deploy "systemctl --user restart ppc" Enter
|
||||
tmux send-keys -t ppc-deploy "cargo build --featuers desktop --manifest-path /home/me/here/mize/packages/mize/Cargo.toml" Enter
|
||||
tmux send-keys -t ppc-deploy "systemctl --user restart mize" Enter
|
||||
else
|
||||
echo "using existing session..."
|
||||
tmux send-keys -t ppc-deploy "cargo build --features desktop --manifest-path /home/me/here/mize/packages/ppc/Cargo.toml" Enter
|
||||
tmux send-keys -t ppc-deploy "systemctl --user restart ppc" Enter
|
||||
tmux send-keys -t ppc-deploy "cargo build --features desktop --manifest-path /home/me/here/mize/packages/mize/Cargo.toml" Enter
|
||||
tmux send-keys -t ppc-deploy "systemctl --user restart mize" Enter
|
||||
fi
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user