Files
cloudron-box/setup/start/systemd/cloudron-resize-fs.service
2016-12-30 11:27:00 -08:00

17 lines
492 B
Desktop File

# Allocate swap files
# https://bbs.archlinux.org/viewtopic.php?id=194792 ensures this runs after do-resize.service
# On ubuntu ec2 we use cloud-init https://wiki.archlinux.org/index.php/Cloud-init
[Unit]
Description=Cloudron FS Resizer
Before=docker.service collectd.service mysql.service sshd.service nginx.service
After=cloud-init.service
[Service]
Type=oneshot
ExecStart="/home/yellowtent/box/setup/start/cloudron-resize-fs.sh"
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target