units: make sure user-runtime-dir@.service is Type=oneshot

We order user@.service after it, hence we need to properly know when it
finished starting up.
This commit is contained in:
Lennart Poettering 2018-08-02 20:57:56 +02:00
parent 3a13442bbf
commit d06e8fbce3

View file

@ -15,4 +15,5 @@ StopWhenUnneeded=yes
[Service]
ExecStart=@rootlibexecdir@/systemd-user-runtime-dir start %i
ExecStop=@rootlibexecdir@/systemd-user-runtime-dir stop %i
Type=oneshot
RemainAfterExit=true