diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 13:00:44 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-13 13:58:26 +0000 |
commit | d58ddb2c4e6534c4d3db90beb2692b67e3a9b83a (patch) | |
tree | 02b1602ec978fc8500793ecce1e5443837a6aaa5 /debian | |
parent | 526b4a5f350725d312c6739cf6abdcef040b698c (diff) |
Install systemd services with autotools
Change-Id: I015ac3fbe5adc551b76bac5c15ad93d30d0d2b6e
Diffstat (limited to 'debian')
-rw-r--r-- | debian/osmo-bsc.install | 1 | ||||
l--------- | debian/osmo-bsc.service | 1 | ||||
-rwxr-xr-x | debian/rules | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/debian/osmo-bsc.install b/debian/osmo-bsc.install index 5dc1e0f1b..651ddb38f 100644 --- a/debian/osmo-bsc.install +++ b/debian/osmo-bsc.install @@ -1,3 +1,4 @@ +lib/systemd/system/osmo-bsc.service usr/bin/osmo-bsc usr/share/doc/osmo-bsc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg usr/share/doc/osmo-bsc/examples usr/share/doc/osmo-bsc/examples/osmo-bsc/osmo-bsc.cfg usr/share/doc/osmo-bsc/examples diff --git a/debian/osmo-bsc.service b/debian/osmo-bsc.service deleted file mode 120000 index ce03af1f8..000000000 --- a/debian/osmo-bsc.service +++ /dev/null @@ -1 +0,0 @@ -../contrib/systemd/osmo-bsc.service
\ No newline at end of file diff --git a/debian/rules b/debian/rules index 71ffbf133..ffc99db85 100755 --- a/debian/rules +++ b/debian/rules @@ -42,8 +42,10 @@ # main packaging script based on dh7 syntax %: - dh $@ --with autoreconf + dh $@ --with autoreconf +# debmake generated override targets +CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS) # |