summaryrefslogtreecommitdiff
blob: 67264147eb88e0bc6cb9b7a64a1714cd3e824586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Linux Container %I
After=network.target
Wants=lxcfs.service

[Service]
Restart=always
ExecStartPre=/usr/libexec/lxc/lxc-devsetup
ExecStart=/usr/bin/lxc-start -n %i -F
ExecReload=/usr/bin/lxc-restart -n %i
ExecStop=/usr/bin/lxc-stop -n %i
Delegate=yes

[Install]
WantedBy=multi-user.target