←back to thread

316 points StalwartLabs | 1 comments | | HN request time: 0s | source
Show context
woleium ◴[] No.45674329[source]
I wish there was an easy auto-update process for Stalwart. is anyone hosting an apt repo for it?

edit: we use it on very resource constrained environments, the container version is too much overhead.

replies(3): >>45674520 #>>45674743 #>>45675722 #
dijit ◴[] No.45674520[source]
isn't it a static binary? Can't you do it the old-school sysadmin way and pull down a binary from github releases and update a symbolic link?
replies(2): >>45675114 #>>45675266 #
woleium ◴[] No.45675114[source]
yes, but that’s not as simple as apt automatic upgrades
replies(1): >>45675232 #
dijit ◴[] No.45675232[source]
want me to write the script out for you?

1. systemd timer

2. curl github api

3. if new release, fetch, verify checksum

4. update symlink

5. restart service

i don’t think repackaging is actually easier here, for main services of a system is ok to skip the package manager.

replies(1): >>45675302 #
1. heavyset_go ◴[] No.45675302{3}[source]
You will eventually break your email setup by doing this, see my other comment.