You are not logged in.
Content of redis.service:
[Unit]
Description=Advanced key-value store
After=network.target
[Service]
User=redis
Group=redis
ExecStart=/usr/bin/redis-server /etc/redis.conf
ExecStop=/usr/bin/redis-cli shutdown
CapabilityBoundingSet=
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
RuntimeDirectory=redis
RuntimeDirectoryMode=700
[Install]
WantedBy=multi-user.target
On every boot:
Mar 09 10:03:17 carpo systemd[1]: redis.service: main process exited, code=exited, status=233/RUNTIME_DIRECTORY
Mar 09 10:03:17 carpo systemd[702]: Failed at step RUNTIME_DIRECTORY spawning /usr/bin/redis-cli: File exists
Mar 09 10:03:17 carpo systemd[1]: redis.service: control process exited, code=exited status=233
Mar 09 10:03:17 carpo systemd[1]: Unit redis.service entered failed state.
Mar 09 10:03:17 carpo systemd[1]: redis.service failed.
Restarting it manually after the boot starts it properly. RuntimeDirectory was added recently by the package. Directory /run is not persistant:
# mount | grep -e '^run'
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
I am stuck on figuring out what happens here. Did anybody else have this issue?
Last edited by kotnik (2015-03-18 09:44:48)
It's all GNU to me.
Offline
same here.
I add Type=forking provisionally
[Service]
Type=forking
...
this works for me.
Offline
Thanks for the hint, sharow.
But it didn't help in my case, still not starting after reboot.
It's all GNU to me.
Offline
or check /etc/redis.conf and redis.conf.pacnew.
daemonize option changed to no recently.
related: https://bugs.archlinux.org/task/44067
Last edited by sharow (2015-03-11 09:56:58)
Offline
It's all GNU to me.
Offline