Automatically enable the daemon after installation #65
Labels
No Label
Component: Ad blocker
Component: Converter
Component: Daemon
Kind: Upstream
Topic: i18n
Topic: Speed
Kind: Upstream
Kind: Breaking
Kind: Bug
Kind: Discussion
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Maintenance
Kind: Question
Kind: Release
Kind: Security
Kind: Testing
Priority: Critical
Priority: High
Priority: Low
Priority: Medium
Reviewed: Confirmed
Reviewed: Duplicate
Reviewed: Invalid
Status: Blocked
Status: Completed
Status: Help wanted
Status: In progress
Status: Investigating
Status: Needs feedback
Status: Stale
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tblock/tblock#65
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
For Arch Linux, this could be done by adding a
post_install()
function:PKGBUILD:
tblock.install:
I think that this is probably nice to add for in package for systemd, but I wouldn't add this in packages for other init systems. With OpenRC, for example, on Artix Linux, every time a system service is installed, there is a pacman hook that displays:
I've also never seen a package that enables a system service for another init system than systemd and personally, I like being able to choose specifically which services are enabled and which aren't.
So if the daemon does not start after installing the GUI, what does it really mean? Will the daemon start after you do the GUI Wizard?
Well, the only thing the daemon does is to provide automatic updates, which means it is totally optional. Currently, you have to do it manually. See https://docs.tblock.me/2.6.1/post-installation.html#enable-automatic-updates for more information.
I think would be a good idea to ask users to enable it while doing the Wizard. If that's possible. Because it can be important. Else the lists will never be updated.
tblock 2.7.0 enables automatic updates by default after installation on Arch-based distributions that use systemd
Oh amazing! So now you simply install TBlock GUI and all good, no need to manually do anything for the updates right?
Well, this is included in the
tblock
package rather than thetblock-gui
, but since the later depends ontblock
, basically yes.