mirror of
https://github.com/blacktop/ipsw.git
synced 2026-05-08 12:22:26 +00:00
39 lines
1.2 KiB
Desktop File
39 lines
1.2 KiB
Desktop File
[Unit]
|
|
Description=ipsw daemon
|
|
Documentation=https://blacktop.github.io/ipsw
|
|
After=network-online.target ipsw.socket
|
|
Wants=network-online.target
|
|
Requires=ipsw.socket
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=/usr/bin/ipswd start
|
|
ExecStop=/usr/bin/ipswd stop
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
TimeoutStartSec=0
|
|
RestartSec=2
|
|
Restart=always
|
|
|
|
# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
|
|
# Both the old, and new location are accepted by systemd 229 and up, so using the old location
|
|
# to make them work for either version of systemd.
|
|
StartLimitBurst=3
|
|
|
|
# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
|
|
# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
|
|
# this option work for either version of systemd.
|
|
StartLimitInterval=60s
|
|
|
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
|
LimitNOFILE=infinity
|
|
LimitNPROC=infinity
|
|
LimitCORE=infinity
|
|
|
|
# Comment TasksMax if your systemd version does not support it.
|
|
# Only systemd 226 and above support this option.
|
|
TasksMax=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|