summaryrefslogtreecommitdiff
path: root/src/firefox@.service
blob: 6d953a0cf680731b6dae2fedd6a50a7df4003dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description = Firefox
ConditionUser = !root
Wants = ioslay@%i.service

[Service]
ExecStart = /bin/sh -c 'exec firefox "$@"' sh --new-instance --display=%i
Restart = on-failure
PassEnvironment = DISPLAY XAUTHORITY PATH
MemoryMax = 50%

[Install]
Also=ioslay@.service