aboutsummaryrefslogtreecommitdiffstats
path: root/conf/system/afm-user-setup@.service
blob: 2cc4214ee8fa34f268d426ad5538d0059cc0cfd3 (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Initiate afm-user-setup %i
After=user@%i.service
[Service]
Type=one-shot
ExecStart=-/bin/sh -c "/bin/mkdir -Z '*' /run/user/%i && /bin/chown %i:%i /run/user/%i"
ExecStart=-/bin/sh -c "/bin/mkdir -Z '*' /run/user/%i/apis && /bin/chown %i:%i /run/user/%i/apis"
ExecStart=-/bin/sh -c "/bin/mkdir -Z '*' /run/user/%i/apis/ws && /bin/chown %i:%i /run/user/%i/apis/ws"