19 lines
456 B
Bash
Executable File
19 lines
456 B
Bash
Executable File
#!/bin/bash
|
|
/usr/bin/pwd
|
|
|
|
$str=`/usr/bin/diff --exclude=multi-user.target.wants -r ./services ~/.config/systemd/user`
|
|
|
|
echo $str
|
|
|
|
# Update daemon files
|
|
#/usr/bin/cp -ur ./services/* ~/.config/systemd/user
|
|
|
|
# Daemon launching
|
|
#/usr/bin/systemctl --user daemon-reload
|
|
#/usr/bin/systemctl --user is-active wthrc.service
|
|
#/usr/bin/systemctl --user restart wthrc.service
|
|
|
|
# Wait for restart
|
|
#/usr/bin/sleep 5
|
|
|
|
/usr/bin/curl localhost:8000 > ./__data__/data.out |