ModernOSWeather/main.sh

19 lines
456 B
Bash
Raw Normal View History

2024-09-09 12:37:28 +03:00
#!/bin/bash
2024-09-23 12:17:02 +03:00
/usr/bin/pwd
2024-09-09 12:37:28 +03:00
2024-09-23 12:17:02 +03:00
$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