Re: [systemd-devel] Set environment for user@.service

2014-03-02 Thread Lennart Poettering
On Sun, 02.03.14 11:22, subi.the.dream.wal...@gmail.com (subi.the.dream.wal...@gmail.com) wrote: Hi, Before systemd 209, I put 'Environment=ENV=%h/.somedir' in /etc/user@.service.d/env.conf to set some variables. Now since %h is not available for system units anymore, I take the

Re: [systemd-devel] Set environment for user@.service

2014-03-01 Thread subi . the . dream . walker
Hi, Before systemd 209, I put 'Environment=ENV=%h/.somedir' in /etc/user@.service.d/env.conf to set some variables. Now since %h is not available for system units anymore, I take the workaround by adding a user unit set-my-env.service: - [Unit] Description=Set systemd environment