FS#75202 - [emby-server] Add pacman hook to restart when upgrade
Attached to Project:
Community Packages
Opened by Juan Simón (j1simon) - Thursday, 30 June 2022, 15:48 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 25 July 2022, 08:32 GMT
Opened by Juan Simón (j1simon) - Thursday, 30 June 2022, 15:48 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 25 July 2022, 08:32 GMT
|
Details
I've copied this pacman hook to restart emby-server when
upgrade:
/etc/pacman.d/hooks/embyserver.hook: # Copy, move or symlink this file in /etc/pacman.d/hooks to force a restart when emby is updated. [Trigger] Operation = Upgrade Type = Package Target = emby-server [Action] Description = Restarting Emby Server... When = PostTransaction Exec = /usr/bin/systemctl try-restart emby-server.service It would be nice if this file could be included in the package so that (whoever wants and needs it) can copy it to activate it. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Monday, 25 July 2022, 08:32 GMT
Reason for closing: Won't implement
Monday, 25 July 2022, 08:32 GMT
Reason for closing: Won't implement
[1] https://wiki.archlinux.org/title/System_maintenance#Restart_or_reboot_after_upgrades