werdahias

Results 159 comments of werdahias

Just checked, it's licensed under CC0 1.0. If you credit the authors it *should be fine

My take on it so far: ``` #!/sbin/openrc-run command="/usr/bin/surface-dtx-userd" command_args="--no-log-time" pidfile="/run/${RC_SVCNAME}.pid" depends () { after surface-dtx-daemon } ``` ``` #!/sbin/openrc-run command="/usr/bin/surface-dtx-daemon" command_args="--no-log-time" pidfile="/run/${RC_SVCNAME}.pid" depends () { } ```

forgot the name section

Interesting: ``` sudo rc-service surface-dtx-userd start * surface-dtx-userd: waiting for surface-dtx-daemon (50 seconds) * Starting surface-dtx-userd ... INFO sdtxu: running... ERROR sdtxu: critical error: Failed to connect to D-Bus (session)...

Can confirm dtx is working when just invoking dtx-daemon using above init script. I've deactivated userd for now.

yeah still have to check it out. With above service file for surface-dtx-daemon it is stuck at starting and doesn't work. When I launch the service manuallly, it starts, and...

I edited the debian/rules files like this: ``` #!/usr/bin/make -f export DH_VERBOSE=1 export SYSTEMD_DIR = /run/systemd ifeq ($(SYSTEMD_DIR),linux) CONFFLAGS += \ -Dservice_manager=systemd else CONFFLAGS += \ -Dservice_manager=openrc endif override_dh_strip: dh_strip...

Sure thing: Here is my modified control file: ``` Source: iptsd Section: misc Priority: optional Maintainer: Dorian Stoll Build-Depends: build-essential, debhelper (>= 10), libinih-dev, meson, pkg-config, systemd | openrc, udev...

Thanks, did it like this: ``` #!/usr/bin/make -f export DH_VERBOSE=1 export OPENRC_DIR=/run/openrc ifeq ($(OPENRC_DIR),linux) CONFFLAGS += \ -Dservice_manager=openrc else CONFFLAGS += \ -Dservice_manager=systemd endif override_dh_auto_configure: dh_auto_configure -- $(CONFFLAGS) override_dh_strip: dh_strip...

Ah yeah thanks.