Prune ebuilds that are in GURU.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
This commit is contained in:
parent
e4a5aa5400
commit
4310c4a75e
34 changed files with 30 additions and 2223 deletions
|
|
@ -1,2 +0,0 @@
|
|||
# Configuration file for conduit
|
||||
CONDUIT_CONFIG=/etc/conduit/conduit.toml
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
export CONDUIT_CONFIG=${CONDUIT_CONFIG:-/etc/conduit/conduit.toml}
|
||||
|
||||
command="/usr/bin/conduit"
|
||||
command_user="conduit:conduit"
|
||||
command_background=true
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
output_log="/var/log/conduit.log"
|
||||
error_log="/var/log/conduit.log"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0755 -o "$command_user" /var/lib/conduit
|
||||
checkpath -f -m 0644 -o "$command_user" "$output_log"
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# shellcheck shell=sh
|
||||
|
||||
export NO_COLOR=1
|
||||
export CONDUIT_CONFIG=${CONDUIT_CONFIG:-/etc/conduit/conduit.toml}
|
||||
|
||||
description="Matrix homeserver"
|
||||
supervisor="supervise-daemon"
|
||||
command="/usr/bin/conduit"
|
||||
command_user="conduit:conduit"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
output_log="/var/log/conduit.log"
|
||||
error_log="/var/log/conduit.log"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0750 -o "${command_user}" /var/lib/matrix-conduit
|
||||
checkpath -f -m 0640 -o "${command_user}" "${output_log}"
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# /etc/logrotate.d/conduit
|
||||
|
||||
/var/log/conduit.log {
|
||||
create conduit conduit
|
||||
maxsize 10M
|
||||
notifempty
|
||||
missingok
|
||||
copytruncate
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[Unit]
|
||||
Description=Conduit Matrix Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/conf.d/conduit
|
||||
User=conduit
|
||||
Group=conduit
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/conduit
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[Unit]
|
||||
Description=Conduit Matrix Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Environment="CONDUIT_CONFIG=/etc/conduit/conduit.toml"
|
||||
User=conduit
|
||||
Group=conduit
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/conduit
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue