nginx, mariadb use just "install -d"… I think I'll stick to this solution.
Search Criteria
Package Details: rspamd 1.6.3-1
| Git Clone URL: | https://aur.archlinux.org/rspamd.git (read-only) |
|---|---|
| Package Base: | rspamd |
| Description: | Fast, free and open-source spam filtering system. |
| Upstream URL: | https://rspamd.com |
| Licenses: | |
| Submitter: | ushi |
| Maintainer: | post-factum |
| Last Packager: | post-factum |
| Votes: | 19 |
| Popularity: | 0.852472 |
| First Submitted: | 2013-10-23 21:43 |
| Last Updated: | 2017-07-26 21:01 |
Dependencies (10)
- file (file-git)
- glib2 (glib2-git, glib2-patched-thumbnailer, glib2-quiet, glib2-sched-policy)
- icu
- libevent (libevent-fb, libevent-git)
- libfann
- luajit (luajit-2.1, luajit-git)
- sqlite
- cmake (cmake-git) (make)
- pkgconfig (pkgconf-git, pkg-config) (make)
- ragel (make)
Required by (0)
Sources (4)
Latest Comments
post-factum commented on 2017-07-09 11:20
jhass commented on 2017-07-08 21:50
It's probably debatable, but the eventual idea of systemd-tmpfiles is that the entire system could be (re)created just from just the /usr/, so that you could even make /usr/ readonly and use it more than once in different containers, VMs or root mounts. So it goes as far as having mechanisms to copy configuration files from /usr/ to /etc/.
post-factum commented on 2017-07-08 21:46
Are you sure /var/lib should be managed by tmpfiles?
jhass commented on 2017-07-08 21:41
These days you usually would install something into /usr/lib/tmpfiles.d/ and call systemd-tmpfiles --create in the post-install hook. See tmpfiles.d(5) and systemd-tmpfiles(8) for more info.
post-factum commented on 2017-07-08 09:21
Hmmm… should I do explicit mkdir in post-install hook?..
Tetsumaki commented on 2017-07-03 20:33
Thank you for this, i think it would still be advisable to use a logrotate for those using the text log.
And for folder ?
I repaired manually:
mkdir /var/lib/rspamd
chown _rspamd: /var/lib/rspamd -R
Without this, history, rrd and others do not work.
post-factum commented on 2017-07-02 20:39
Just add
===
systemd = true;
type = "console";
===
to local.d/logging.inc and forget about text log.
Tetsumaki commented on 2017-07-02 20:21
You do not support text files, but the application still uses them, the good practice is to not ignore them. exemple nginx.
For the folder missing /var/lib/rspamd, exemple in log TEXTE file :D (not in journald) :
2017-06-15 23:09:12 #2048(main) rspamd_inet_address_listen: bind unix:/var/lib/rspamd/rspamd.sock failed: 2, 'Aucun fichier ou dossier de ce type'
2017-06-15 23:09:12 #2048(main) <cf3d0d>; main; main: cannot open control socket at path: /var/lib/rspamd/rspamd.sock mode=0600
post-factum commented on 2017-07-02 20:09
I tend to not support text logs, please use journald.
post-factum commented on 2017-07-02 20:08
Did you get any error on first start?