User avatar
Norm (ノーム) CastoriceBlushing @norm@shrimp.biribiri.dev
1mo
ok, just migrated this instance to an alpine VM, and it seems to be working!
1
0
2
0
User avatar
Norm (ノーム) CastoriceBlushing @norm@shrimp.biribiri.dev
1mo
for anyone who wants to do the same, here's my service file (/etc/init.d/iceshrimp):
#!/sbin/openrc-run
name="Iceshrimp.NET"
description="Iceshrimp.NET Fediverse server"

command="/usr/share/iceshrimp.net/Iceshrimp.Backend"
command_args="--migrate-and-start"
command_user="iceshrimp:iceshrimp"
command_background=true
directory=/usr/share/iceshrimp.net
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
        need postgresql
}



(this assumes both user and group are called
iceshrimp)

and the environment variables (
/etc/conf.d/iceshrimp):
export ICESHRIMP_CONFIG="/etc/iceshrimp.net/configuration.ini"
export MALLOC_TRIM_THRESHOLD_=131072
2
0
0
0

User avatar
Norm (ノーム) CastoriceBlushing @norm@shrimp.biribiri.dev
1mo
updated service file to add postgresql dependency
0
0
0
0