Remove all previous daemon data
This commit is contained in:
parent
cd26ad0ed6
commit
3e38f46d8e
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ su nemo -c "systemctl --user disable %{name}.service" || true
|
||||||
rm %{_unitdir}/%{name}-oneshot.service || true
|
rm %{_unitdir}/%{name}-oneshot.service || true
|
||||||
rm %{_unitdir}/%{name}.service || true
|
rm %{_unitdir}/%{name}.service || true
|
||||||
rm %{_userunitdir}/%{name}.service || true
|
rm %{_userunitdir}/%{name}.service || true
|
||||||
|
rm /etc/systemd/system/%{name}.service || true
|
||||||
|
rm /etc/systemd/system/%{name}-oneshot.service || true
|
||||||
|
|
||||||
# Install/update permission daemon (root)
|
# Install/update permission daemon (root)
|
||||||
cp %{_datadir}/%{name}/service/%{name}-oneshot.service %{_unitdir}/%{name}-oneshot.service
|
cp %{_datadir}/%{name}/service/%{name}-oneshot.service %{_unitdir}/%{name}-oneshot.service
|
||||||
|
|
Loading…
Reference in a new issue