lain
e143e645d3
Merge pull request 'OpenRC: Automatically run migrations before starting pleroma' ( #7680 ) from gitlab-mr-iid-4303 into develop
...
Reviewed-on: https://git.pleroma.social/pleroma/pleroma/pulls/7680
2026-07-29 11:07:32 +00:00
Lain Soykaf
8943ab8140
fix(openrc): preserve migration execution context
2026-07-29 15:02:16 +04:00
Lain Soykaf
3dbc570471
Woodpecker CI: Publish update-compatible OTP releases
2026-05-02 11:57:04 +04:00
Phantasm
95a33855d1
pleroma_ctl: Update update logic to Gitea API
2026-04-24 22:02:01 +02:00
Phantasm
7f97e21910
pleroma_ctl: Properly handle user arguments with whitespace
...
When user supplied arguments to pleroma_ctl include whitespace
that has been properly quoted, all arguments were sent to
ReleaseTasks in one string, which then String.split/1 the input on any
whitespace. This broke Mix tasks that accept certain user input like
instance gen and user management.
To fix this, pleroma_ctl now sends the arguments in list
form. Additionally pleroma_ctl arguments now need to be pre-processed.
Fixes pleroma/pleroma#7874
2026-04-24 18:04:31 +02:00
Haelwenn (lanodan) Monnier
9bbeeeb428
*/init.d/pleroma: run migrations before starting
2024-12-19 21:59:33 +01:00
Haelwenn (lanodan) Monnier
a1247220f3
rel/…/init.d/pleroma: set respawn_max & respawn_period
2024-12-19 21:50:31 +01:00
Haelwenn (lanodan) Monnier
9ce615d3d5
rel/…/init.d/pleroma: tab indent
2024-12-19 21:50:31 +01:00
Haelwenn (lanodan) Monnier
818712f99f
pleroma_ctl: Use realpath(1) instead of readlink(1)
...
From realpath(1) in POSIX 202x Draft 4.1:
> If file does not name a symbolic link, readlink shall write a diagnostic
> message to standard error and exit with non-zero status.
Which also doesn't includes `-f`, in preference of `realpath`.
2024-05-23 00:39:53 +02:00
Haelwenn (lanodan) Monnier
a663b73634
Add no_new_privs to OpenRC service files
2023-06-13 12:47:02 +02: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