-
Notifications
You must be signed in to change notification settings - Fork 223
Update Debian Package Services and Config Directory #1855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 51 commits
9d6b770
693dc63
14d6d7e
2758515
48d7dfb
12090e6
84282f4
9ffb314
896b13f
bd89102
e905f02
d24b096
886c092
24d2cec
977dca8
b31073a
146a9d1
8729000
1740d5a
0bf40e7
b66a17a
f903797
938733c
5111428
dab152a
0f3cf4b
c4c97a2
46cb35e
66ba156
c6a521a
cc2be83
f134516
4e6477a
23e29c3
60f615f
3a3db2e
28469df
059bc44
8015767
49d4d44
2abcdb8
cb606a0
dda1a02
26844bb
e83dca1
8aacbd4
41df99d
5a46575
ccb128e
30906cf
c00183a
08d6a95
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| etc/ola | ||
| usr/bin | ||
| usr/lib | ||
| usr/share |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,16 +17,11 @@ DAEMON=/usr/bin/$NAME | |
| PIDFILE=/var/run/$CMD.pid | ||
| DESC="OLA RDM Test Server" | ||
| USER=olad | ||
| DAEMON_ARGS="--world-writable" | ||
|
|
||
| # Reads config file (will override defaults above) | ||
| [ -r /etc/default/ola-rdm-tests ] && . /etc/default/ola-rdm-tests | ||
|
|
||
| if [ "$RUN_DAEMON" = "true" ] || [ "$RUN_DAEMON" = "yes" ] ; then | ||
| DAEMON_ARGS="--world-writeable" | ||
| elif [ "$1" = "start" ] || [ "$1" = "stop" ] ; then | ||
| echo "The init script is currently inactive;\nuse \"dpkg-reconfigure ola-rdm-tests\" to change this." >&2 | ||
| fi | ||
|
|
||
|
Comment on lines
-24
to
-29
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know how major an issue we feel this is, but it will be a breaking change for anyone using our version of the deb build/init script. I don't believe it's been in Debian's shipped version for ages (ever?). We could split this in half so the additions were in 0.11.0 and the removal/tidying was in whatever we call the next version...
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my rationale at the start of the PR. The Debian build in this repo had been nonfunctional for so long that there is no way anyone is using it. |
||
| [ -x "$DAEMON" ] || exit 0 | ||
|
|
||
| . /lib/lsb/init-functions | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| [Unit] | ||
| Description=Open Lighting Architecture RDM Test Server | ||
| Documentation=man:olad(1) | ||
DaAwesomeP marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| After=network.target remote-fs.target olad.service | ||
| Wants=olad.service | ||
|
|
||
| [Service] | ||
| User=olad | ||
| Environment=RDM_TEST_SERVER_OPTS="--world-writable" | ||
yoe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| EnvironmentFile=-/etc/default/ola-rdm-tests | ||
| ExecStart=/usr/bin/rdm_test_server.py $RDM_TEST_SERVER_OPTS | ||
|
|
||
| [Install] | ||
| WantedBy=multi-user.target | ||
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.