reload systemd user daemon
This commit is contained in:
parent
d39b1c8013
commit
58c2ac077b
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
_user_id=$(id -u)
|
_user_id=$(id -u)
|
||||||
|
|
||||||
if [ "$_user_id" -eq 0 ] ; then
|
if [ "$_user_id" -eq 0 ] ; then
|
||||||
|
@ -12,11 +11,11 @@ sudo cp ./notify-updates /usr/local/bin/
|
||||||
sudo cp ./pacman-update-count /usr/local/bin/
|
sudo cp ./pacman-update-count /usr/local/bin/
|
||||||
|
|
||||||
sudo cp ./pacman-update-count.* /etc/systemd/system/
|
sudo cp ./pacman-update-count.* /etc/systemd/system/
|
||||||
|
sudo systemctl daemon-reload
|
||||||
|
|
||||||
mkdir -p ~/.config/systemd/user
|
mkdir -p ~/.config/systemd/user
|
||||||
cp ./update-notifier.* ~/.config/systemd/user
|
cp ./update-notifier.* ~/.config/systemd/user/
|
||||||
|
systemctl --user daemon-reload
|
||||||
sudo systemctl daemon-reload
|
|
||||||
|
|
||||||
sudo systemctl enable pacman-update-count.timer
|
sudo systemctl enable pacman-update-count.timer
|
||||||
sudo systemctl start pacman-update-count.timer
|
sudo systemctl start pacman-update-count.timer
|
||||||
|
|
Loading…
Reference in New Issue