2018-10-22 23:38:52 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-10-23 02:14:17 +02:00
|
|
|
mkdir -p /var/lib/lxc/piston/rootfs/exec
|
|
|
|
rm -f /var/lib/lxc/piston/rootfs/exec/*
|
|
|
|
cp -f executors/* /var/lib/lxc/piston/rootfs/exec
|
|
|
|
chmod 700 /var/lib/lxc/piston/rootfs/exec/*
|
2019-05-31 22:34:48 +02:00
|
|
|
chown -R root:root /var/lib/lxc/piston/rootfs/exec
|
2018-10-22 23:38:52 +02:00
|
|
|
|
|
|
|
lxc-start -n piston -d
|