mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
tree: fix install
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
39a19e3a4b
commit
e008846b04
@ -17,12 +17,9 @@ if [ "${1}" = "late" ]; then
|
||||
cat << EOF > ${DEST}
|
||||
[Unit]
|
||||
Description=addon amepatch
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
@ -22,12 +22,9 @@ if [ "${1}" = "late" ]; then
|
||||
cat << EOF > ${DEST}
|
||||
[Unit]
|
||||
Description=Enable CPU Freq scaling
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
@ -47,12 +44,9 @@ EOF
|
||||
cat << EOF > ${DEST}
|
||||
[Unit]
|
||||
Description=Enable CPU Freq scaling
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
@ -23,7 +23,7 @@ After=multi-user.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/deduplication.sh -s -e
|
||||
ExecStart=/usr/bin/deduplication.sh -s -e --hdd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -15,15 +15,11 @@ if [ "${1}" = "late" ]; then
|
||||
cat << EOF > ${DEST}
|
||||
[Unit]
|
||||
Description=addon surveillancepatch
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/surveillancepatch.sh
|
||||
|
||||
[Install]
|
||||
|
@ -14,16 +14,12 @@ if [ "${1}" = "late" ]; then
|
||||
DEST="/tmpRoot/usr/lib/systemd/system/surveillancepatch.service"
|
||||
cat << EOF > ${DEST}
|
||||
[Unit]
|
||||
Description=addon surveillancepatchn
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
Description=addon surveillancepatch
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/surveillancepatch.sh
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user