#!/usr/bin/env ssm
service_type='oneshot'
service_command=( /usr/bin/mount -a )
pre_start() {
if [[ -w / ]]; then
mount -o remount,rw /
fi
}
post_start() {
swapon -a