Commit graph

35 commits

Author SHA1 Message Date
Erin Shepherd
7a0e27a746 Disable busy waits in the default OTP vm.args configuration.
This vastly reduces idle CPU usage, which should generally be beneficial
for most small-to-medium sized instances.

Additionally update the documentation to specify how to override the vm.args
file for OTP installs
2024-02-17 13:21:56 +01:00
YokaiRick
6ec5437294 added support for arm64
added arm64 support for update.
Tested on Arch amd64, Debian arm64 and Alpine amd64
2023-08-16 20:58:21 +00:00
FloatingGhost
6902ede5b7 remove special case from update script 2023-08-04 20:39:33 +01:00
Haelwenn (lanodan) Monnier
166ddebdbc
Add no_new_privs to OpenRC service files 2023-07-22 02:40:17 -04:00
floatingghost
5827f7781f Add installation note about flavour, support special cases (#222)
Fixes #210

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/222
2022-09-20 11:04:26 +00:00
Norm
ffbf8304e0 Update OTP OpenRC service
This makes the paths match that of the OTP install guide on OpenRC distros.
2022-08-18 23:13:09 +00:00
Karen Konou
22333f13e8 Update OTP systemd service 2022-08-18 12:43:20 +02:00
FloatingGhost
e5a2548521 remove warning that breaks update 2022-08-09 12:57:39 +01:00
floatingghost
645f0390bc Prepare for ubuntu22 murdering openssl (#120)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/120
2022-07-27 21:48:13 +00:00
floatingghost
82fa766ed7 Remove precompiled javascript (#55)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/55
2022-07-08 13:03:18 +00:00
FloatingGhost
6e1d9c63da allow %{source} dict in no_empty 2022-06-14 17:41:25 +01:00
FloatingGhost
6ac2822c73 update fe 2022-06-14 17:29:41 +01:00
FloatingGhost
081b4b279a only test release 2022-06-11 17:34:13 +01:00
rinpatch
4a5bb7eb02 OTP releases: only set name and distribution type if not set already
Fixes not being able to run two OTP releases on one machine because of
the name conflict.
2019-11-22 19:58:39 +03:00
rinpatch
f3451e723b pleroma_ctl: fix crashes due to different shift(1) behavior on dash 2019-10-24 23:28:59 +03:00
rinpatch
901bf0fb8c pleroma_ctl: Fix attempting to use RPC for config generation 2019-10-19 00:37:39 +03:00
rinpatch
58fea88564 Prepare pleroma_ctl for moving master to stable and relax the error
message
2019-10-14 18:39:56 +03:00
rinpatch
b750135acd pleroma_ctl: Make it possible to specify branches/flavours when updating 2019-10-11 13:22:21 +03:00
Ivan Tashkinov
8c7d7cc936 [#1048] Fixed version parsing in pleroma_ctl. Closes #1036. 2019-07-02 18:47:53 +03:00
rinpatch
5b76c3141f Use supervise-daemon(8) for the alpine service 2019-06-24 10:08:33 +03:00
rinpatch
bb40c33dd6 Add an OpenRC service for OTP releases 2019-06-22 13:24:33 +03:00
rinpatch
1d2332ce79 Use uname -m instead of arch for more portability 2019-06-22 05:20:36 +03:00
rinpatch
38a803a1f8 Add a systemd service for OTP releases 2019-06-22 05:00:41 +03:00
rinpatch
e3e8a7dc0e Disable rpc for instance gen 2019-06-20 18:28:56 +03:00
rinpatch
0e31d195af Apply suggestion to rel/files/bin/pleroma_ctl 2019-06-20 08:12:56 +00:00
rinpatch
2571e07fba pleroma_ctl: Rename arch to flavour because it also includes the libc 2019-06-19 14:59:18 +03:00
rinpatch
66f2cdcdb0 pleroma_ctl: add an update command
Closes #988 and #1004
2019-06-19 14:53:16 +03:00
rinpatch
a0a1361888 Refactor pleroma_ctl copying to a generic function for copying files into the release dir 2019-06-19 03:52:03 +03:00
rinpatch
448d739b25 pleroma_ctl: Run mix tasks using rpc instead of eval
This patch changes pleroma_ctl to call into a running instance instead of spinning up
a new one for mix task execution. This significantly decreases the time needed
for mix task execution (on my machine for `pleroma_ctl user set rin --no-admin`
the difference is 0.2s vs 4.2s) and allows mix tasks to affect the
instance context, for example, this allows to clear the cache after user
deletion
2019-06-18 00:22:58 +03:00
rinpatch
0876ac05ba pleroma_ctl: fix == instead of = and double quote the path to prevent globing 2019-06-13 22:16:57 +03:00
lain
dbe4c2b7c8 Update pleroma_ctl 2019-06-10 11:47:22 +00:00
rinpatch
bf391569cf specify that a version is needed for rollback 2019-06-09 13:34:58 +03:00
rinpatch
2a659b35f1 Add migrate/rollback to release tasks 2019-06-09 13:33:44 +03:00
rinpatch
d7ec0898e5 Make mix tasks work in a release 2019-06-08 17:40:40 +03:00
rinpatch
3d374bf7df Basic release skeleton 2019-06-08 17:16:15 +03:00