debian: drop distro-specific systemd service

It is now provided by upstream
This commit is contained in:
Arnaud Ferraris
2021-10-08 11:02:05 +02:00
parent e96aec8390
commit c17f947249
2 changed files with 1 additions and 26 deletions

View File

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

5
debian/rules vendored
View File

@@ -3,7 +3,4 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%: %:
dh $@ --builddirectory=_build dh $@
override_dh_installsystemd:
dh_installsystemd --name=eg25-manager --no-restart-on-upgrade --no-restart-after-upgrade