File: service

package info (click to toggle)
dphys-swapfile 20100506-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 220 kB
  • sloc: sh: 424; makefile: 46
file content (13 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=dphys-swapfile - set up, mount/unmount, and delete a swap file
Documentation=man:dphys-swapfile(8)

[Service]
Type=oneshot
ExecStart=/sbin/dphys-swapfile setup
ExecStart=/sbin/dphys-swapfile swapon
ExecStop=/sbin/dphys-swapfile swapoff
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target