[systemd-devel] Service runs as imaps, but imaps can not read the journal
Cecil Westerhof
cldwesterhof at gmail.com
Sat Apr 4 00:14:26 PDT 2015
I have the following fetchMail.service file:
[Unit]
Description=Fetch email for the IMAPS server
After=network.target
[Service]
Type=simple
ExecStart=/home/imaps/bin/fetchMail.sh
Restart=always
User=imaps
StandardError=journal
[Install]
WantedBy=multi-user.target
But when I as imaps run:
journalctl --since="2015-04-04 08:00"
I do not see any log information. Would it not be logical that the user can
see the log information of its own process?
This is with systemd version 210.
--
Cecil Westerhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150404/dde6cd97/attachment.html>
More information about the systemd-devel
mailing list