2016-12-20 20:55:54 -08:00
|
|
|
# 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]
|
2016-12-30 11:27:00 -08:00
|
|
|
Description=Cloudron FS Resizer
|
2025-11-24 13:22:56 +01:00
|
|
|
Before=docker.service mysql.service sshd.service nginx.service
|
2016-12-20 20:55:54 -08:00
|
|
|
After=cloud-init.service
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=oneshot
|
2016-12-30 11:27:00 -08:00
|
|
|
ExecStart="/home/yellowtent/box/setup/start/cloudron-resize-fs.sh"
|
2016-12-20 20:55:54 -08:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|