mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 23:32:14 +02:00
debian: drop distro-specific systemd service
It is now provided by upstream
This commit is contained in:
22
debian/eg25-manager.service
vendored
22
debian/eg25-manager.service
vendored
@@ -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
5
debian/rules
vendored
@@ -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
|
|
||||||
|
Reference in New Issue
Block a user