diff --git a/debian/eg25-manager.service b/debian/eg25-manager.service deleted file mode 100644 index e9e0815..0000000 --- a/debian/eg25-manager.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=Quectel EG25 modem -Before=ModemManager.service - -[Service] -Type=simple -ExecStart=/usr/bin/eg25manager -Restart=on-failure -ProtectControlGroups=true -ProtectHome=true -ProtectKernelTunables=true -ProtectSystem=strict -RestrictSUIDSGID=true -PrivateTmp=true -MemoryDenyWriteExecute=true -PrivateMounts=true -NoNewPrivileges=true -CapabilityBoundingSet= -LockPersonality=true - -[Install] -WantedBy=multi-user.target diff --git a/debian/rules b/debian/rules index 6d726c7..d8309f6 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,4 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --builddirectory=_build - -override_dh_installsystemd: - dh_installsystemd --name=eg25-manager --no-restart-on-upgrade --no-restart-after-upgrade + dh $@