forked from anna/doors
Rename doorrc -> doorsrc
The added 's' matches the daemon name. Signed-off-by: Workantile <maintainers@workantile.com>
This commit is contained in:
parent
ed1ddbcf0e
commit
20dfd5d2bc
4
Makefile
4
Makefile
|
@ -1,8 +1,8 @@
|
|||
|
||||
install:
|
||||
install -v doors.py /usr/bin/doorsd
|
||||
install -D -v doorrc /etc/doorrc
|
||||
install -D -v doorsrc /etc/doorsrc
|
||||
install -v doorsd.service /usr/lib/systemd/system/doorsd.service
|
||||
|
||||
uninstall:
|
||||
rm -v /usr/bin/doorsd /etc/doorrc
|
||||
rm -v /usr/bin/doorsd /etc/doorsrc
|
||||
|
|
4
doors.py
4
doors.py
|
@ -24,10 +24,10 @@ import os
|
|||
# #
|
||||
####################
|
||||
|
||||
for conf in [ "/etc/doorrc", "./doorrc" ]:
|
||||
for conf in [ "/etc/doorsrc", "./doorsrc" ]:
|
||||
if os.path.exists(conf):
|
||||
with open(conf) as f:
|
||||
exec(compile(f.read(), "doorrc", 'exec'))
|
||||
exec(compile(f.read(), "doorsrc", 'exec'))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue