tree: fix install

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-07-28 20:13:33 +02:00
parent 39a19e3a4b
commit e008846b04
5 changed files with 6 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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]

View File

@ -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]