[systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
separate binaries for two init daemons, how can i solve this? -- Vasiliy G Tolstov v.tols...@selfip.ru Selfip.Ru ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
On Thu, 2011-05-26 at 10:43 +0200, Michael Biebl wrote: 2011/5/26 Vasiliy G Tolstov v.tols...@selfip.ru: Hello. If i want to write daemon, that can be running by regular init system (openrc, upstart and others) and systemd, how can i check inside my daemon, that it runs from systemd

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
On Thu, 2011-05-26 at 16:52 +0800, microcai wrote: 于 2011年05月26日 16:33, Vasiliy G Tolstov 写道: Hello. If i want to write daemon, that can be running by regular init system (openrc, upstart and others) and systemd, how can i check inside my daemon, that it runs from systemd? In compile

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
this scheme and those which don't, it is generally recommended to ignore the return value of this call. How can i check systemd in case not socket-activated mode ? -- Vasiliy G Tolstov v.tols...@selfip.ru Selfip.Ru ___ systemd-devel mailing list

[systemd-devel] systemd-24 failed sshd.socket

2011-04-20 Thread Vasiliy G Tolstov
:33355.service stoping timed out. Killing. sshd@.service contains: ExecStart=-/usr/sbni/sshd -i StandardInput=socket -- Vasiliy G Tolstov v.tols...@selfip.ru Selfip.Ru ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

[systemd-devel] cloudfuse mount in /etc/fstab

2011-04-20 Thread Vasiliy G Tolstov
fusecloudfuse /mntfuse username=vase,api_key=,authurl=https://api.clodo.ru/v1.0,allow_root,default_permissions,kernel_cache,big_writes,intr 0 0 -- Vasiliy G Tolstov v.tols...@selfip.ru Selfip.Ru

[systemd-devel] best way to monitor begining of runlevel

2011-04-01 Thread Vasiliy G Tolstov
Hello. I have a daemon, that runs before init system, it do some things and must sleep before system go to 3 or 5 runlevel. That is the best way to waiting ? I'm not only using systemd, but other init systems too... Very simple method - in cycle parse /var/log/wtmp (/var/log/wtmpx) and get current

Re: [systemd-devel] systemd and sshd.socket/sshd@.service

2011-02-18 Thread Vasiliy G Tolstov
On Tue, 2011-02-08 at 13:08 +0100, Lennart Poettering wrote: On Tue, 08.02.11 14:49, Vasiliy G Tolstov (v.tols...@selfip.ru) wrote: Oh, intreresting. It's in failed state. Can you check syslog/kmsg if systemd generated any kind of log output when this happened? i.e. around Mon, 07 Feb

[systemd-devel] install systemd unit in cmake build system

2011-02-18 Thread Vasiliy G Tolstov
Good morning. I'm read http://0pointer.de/public/systemd-man/daemon.html that contains autoconf pkg-config example to install systemd files. Can somebody write exaple to cmake build system that install system unit for daemon? ___ systemd-devel