debian/service
raw| 1 | [Unit] |
| 2 | Description=dphys-swapfile - set up, mount/unmount, and delete a swap file |
| 3 | Documentation=man:dphys-swapfile(8) |
| 4 | |
| 5 | [Service] |
| 6 | Type=oneshot |
| 7 | ExecStart=/sbin/dphys-swapfile setup |
| 8 | ExecStart=/sbin/dphys-swapfile swapon |
| 9 | ExecStop=/sbin/dphys-swapfile swapoff |
| 10 | RemainAfterExit=yes |
| 11 | |
| 12 | [Install] |
| 13 | WantedBy=multi-user.target |