You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sudo dpkg -i headscale_0.24.0-beta.2_linux_amd64.deb
(Reading database ... 38893 files and directories currently installed.)
Preparing to unpack headscale_0.24.0-beta.2_linux_amd64.deb ...
Unpacking headscale (0.24.0~beta.2) over (0.23.0) ...
Stop and disable headscale service
Running daemon-reload
Removing run directory
Setting up headscale (0.24.0~beta.2) ...
Installing new version of config file /etc/headscale/config.yaml ...
Sudo permissions detected
Found headscale /usr/bin/headscale
PostInstall: Adding headscale user headscale
useradd: user 'headscale' already exists
PostInstall: Adding headscale group headscale
groupadd: group 'headscale' already exists
PostInstall: Adding headscale user headscale to group headscale
PostInstall: Creating headscale run directory
PostInstall: Modifying group ownership of headscale run directory
----------------------------------------------------------------------
headscale package has been successfully installed.
Please follow the next steps to start the software:
sudo systemctl enable headscale
sudo systemctl start headscale
Configuration settings can be adjusted here:
/etc/headscale/config.yaml
----------------------------------------------------------------------
$ sudo systemctl is-enabled headscale
disabled
Is this a support request?
Is there an existing issue for this?
Current Behavior
The
headscale.service
gets disabled when upgrading the deb package.Expected Behavior
The
headscale.service
should stay enabled after upgrading via the deb package. The debian package should handle debian maintainer scripts well.Steps To Reproduce
sudo dpkg -i headscale_0.23.0_linux_amd64.deb
sudo systemctl enable headscale
sudo systemctl is-enabled headscale
enabled
sudo dpkg -i headscale_0.24.0-beta.2_linux_amd64.deb
sudo systemctl is-enabled headscale
disabled
Shell output:
Environment
Runtime environment
Anything else?
Workaround: Don't forget to enable headscale after update:
sudo systemctl enable headscale
The text was updated successfully, but these errors were encountered: