summarylogtreecommitdiffstats
path: root/irexec-system.service
blob: 64addda079c571864e59217252552b4f8efe6c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Run the service with the root instance of systemd but use a provided user for
# the service.
[Unit]
Description=irexec as service
Requires=lircd.service
After=lircd.service

[Service]
User=%i
ExecStart=/usr/bin/irexec
Restart=always

[Install]
WantedBy=multi-user.target