From: Mike <amike@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] systemd + logrotate + syslogd
Date: Tue, 20 Nov 2012 12:30:59 +0400
Message-ID: <50AB3FC3.5000204@altlinux.ru> (raw)
In-Reply-To: <4926361.KK9l5ZnupP@epiphanov.bkpi82.nikiet.ru>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
19.11.2012 10:01, Sergei Epiphanov пишет:
> On 17 ноября 2012 13:28 Alexei Takaseev wrote: ...
>> Дома перевел машину под systemd, и ежедневное умирание syslog
>> при ротации логов малость поднадоело.
>
> Для syslogd я нарисовал такой файл syslogd.service и положил его в
> /etc/systemd/system:
>
> [Unit] Description=Syslog daemon
>
> [Service] EnvironmentFile=/etc/sysconfig/syslogd
> ExecStart=/sbin/syslogd -d $SYSLOGD_OPTIONS
>
> [Install] WantedBy=multi-user.target
>
> Работает на двух машинах, умирать не хочет. :)
>
Может вместо -d использовать -n? Работает так же и логи не засоряет.
- --
Михаил Плужников <amike@altlinux.ru>
Специалист по тестированию и тех. поддержки
Отдел тестирования и тех. поддержки
ООО "Альт Линукс"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlCrP8IACgkQ8W5Me0/StG6DewCgoRX/UvgHrp0Jct/gFH7a1npC
SLkAoNY79NAaVuN4Ixa0Xg/WmAEJmrGW
=d4kr
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-11-20 8:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-17 4:28 ` Alexei Takaseev
2012-11-17 10:37 ` Dmitry V. Levin
2012-11-20 8:33 ` Mike
2012-11-20 9:23 ` Dmitry V. Levin
2012-11-17 10:55 ` Michael Shigorin
2012-11-19 6:01 ` Sergei Epiphanov
2012-11-19 11:04 ` Dmitry V. Levin
2012-11-19 11:13 ` Alexei Takaseev
2012-11-19 11:35 ` Sergei Epiphanov
2012-11-20 8:30 ` Mike [this message]
2012-11-20 9:40 ` Sergei Epiphanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50AB3FC3.5000204@altlinux.ru \
--to=amike@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git