Comments (23)
I think Gentoo have init.d system ?
from log2ram.
Yes, i have /etc/init.d... Sorry. At boottime on tehn screen i can see openrc starting. i think i was misunderstanding that.
from log2ram.
related to #16
from log2ram.
Are you familiar to use iniV ? I will allow init configuration, but I cannot test it here.
from log2ram.
No, sorry. Never heard about iniV
from log2ram.
Sorry the name of init.d script is sysvinit (also named SystemV), the doc say it's compatible with OpenRC
What is the output of cat /proc/1/comm
?
from log2ram.
Well, minimal... Have seen already some but can not convert from systemd :-(
The Gentoo i used is Gen2VDR that is a distribution bundled with VDR and Kodi to have an Linux HTPC. Bas System is Gentoo.
The reqested Output:
root auf hdvdr01 am 19.02.2018 13:52
[~] # cat /proc/1/comm
init
from log2ram.
I found this: https://github.com/akhilvij/systemd-to-sysvinit-converter
But i doubt it is much help
from log2ram.
@fugitive90 Maybe you can help with that. I see you have fork my project for FreeBSD use. We can open a branch for sysvinit compatibility.
from log2ram.
Hello everyone.
Sorry didn't noticed notification. @azlux yes, I planed to made for sysvinit and open-rc, but didn't got time to finish it. I'll see what I can do.
from log2ram.
@fugitive90 You can make changes into https://github.com/azlux/log2ram/tree/sysvinit
I see you have change many function, maybe we can create a functional branch for init.d system and add other changes later.
from log2ram.
@azlux Please find me on freenode, #devuan,#alpine-linux or #artix nick ``fugitive'' so we can discuss it.
from log2ram.
i tried to install om my VDR. But it fails:
root auf hdvdr01 am 01.06.2018 13:30
[~/log2ram-sysvinit] # bash ./install.sh
./install.sh: Zeile 14: systemctl: Kommando nicht gefunden.
Reboot to activate log2ram
from log2ram.
from log2ram.
Is Gentoo Linux
root auf hdvdr01 am 19.02.2018 13:52
[~] # cat /proc/1/comm
init
from log2ram.
i think it is openrc-init
https://wiki.gentoo.org/wiki/Init_system
from log2ram.
@MegaV0lt Sorry I cannot make the init script for gentoo. I never use it. If you think you can do it, I will create a Branch for that.
from log2ram.
I have several raspberry pis running Rasbian (Debian 7) which still uses init instead of systemd. I don't know if a solution for init on Rasbian might benefit the Gentoo distro in any way?
from log2ram.
Gen2VDR (Gentoo) is using init.d-Scripts. Example:
root auf hdvdr01 am 07.06.2018 08:31
[~] # cat /etc/init.d/ntpd
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
description="ntpd - the network time protocol daemon"
pidfile="/var/run/ntpd.pid"
command="/usr/sbin/ntpd"
command_args="-p ${pidfile} ${NTPD_OPTS}"
start_stop_daemon_args="--pidfile ${pidfile}"
depend() {
use net dns logger
after ntp-client
}
start_pre() {
if [ ! -f /etc/ntp.conf ] ; then
eerror "Please create /etc/ntp.conf"
return 1
fi
return 0
}
start-stop-deamion is also in some scripts
from log2ram.
I started a attempt to include detection of init-system and install/uninstall files acording to the init-system.
My first try looks good so far. You can take a look here: https://github.com/MegaV0lt/log2ram
from log2ram.
Is it just recent update broke openrc support?
from log2ram.
What update you mean?
from log2ram.
Never mind, I just copied the old open-rc script from another alpine box and it works now, just guessing recent update removed / broke open-rc support
from log2ram.
Related Issues (20)
- Pihole Disk Shortage 99% usage HOT 1
- Ending up with non-ARM binaries HOT 2
- Not starting
- Strange issue where hdd.log is on RAM and not syncing to SD HOT 5
- Feature request: rsync with remote server HOT 1
- Status appears to start & stop log2ram. Option to just show status?
- rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3] HOT 10
- log of log2ram in the specific directory
- Alignment with armbian ramlog HOT 2
- There is no log2ram job in cron.* HOT 2
- Has this been submitted to the Debian/Raspbian repositories? If not it should! HOT 4
- Debian 12 Bookworm support HOT 1
- RAM disk too small HOT 1
- Using log2ram for other ramdisk purposes? HOT 1
- Log2Ram won't start on RPi OS 64-bit HOT 2
- Buster repo missing HOT 5
- Changeing timer does not work HOT 2
- 500 Internal Server Error when attempting to download repo.gpg.key HOT 1
- Latest APT version (1.6.1) far behind Git repo HOT 9
- log2ram failed to update writes to disk at reboot HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log2ram.