Files
login/samples/dmodem-login-authd.service.sample
T
Claude 3b86b397ad Rename modemmenu to dmodem-login, the repository to D-Modem/login
The program is dmodem-login (like dmodemd and dmodem-ari), the Go module
github.com/D-Modem/login, the site d-modem.github.io/login.  Its files,
units, sockets, PAM service, pppd plugin, environment (DMODEM_LOGIN_*)
and nftables tables follow.

An old installation keeps working:
- make install puts a modemmenu link to dmodem-login, and a modemmenu.so
  link to the plugin, which also takes its old modemmenu-socket option
- the default configuration, users file, state_dir and PAM service fall
  back to modemmenu's when only those are there (config.Legacy)

docs/rename.md (Simplified Technical English) lists the new names and
what an old installation must change (the -serve socket, the units, the
/etc/modemmenu files, the old nftables tables).  CI's bbs job moves a
bbs that still imports github.com/D-Modem/menu to the new path.  The
pppd plugin builds clean with -Wall -Wextra on GCC and Clang.

COMMERCIAL-LICENSE.md and CONTRIBUTING.md (legal text) are not changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
2026-11-23 05:04:16 +00:00

19 lines
648 B
Plaintext

# /etc/systemd/system/dmodem-login-authd.service - dmodem-login's auth socket
# alone ([authd]), for the BBS's other logins, where dmodem-login runs from
# app_dmodem a call at a time and not as -serve (which answers it too)
[Unit]
Description=dmodem-login: the auth socket for the BBS
Before=bbs.service
[Service]
ExecStart=/usr/local/bin/dmodem-login -config /etc/asterisk/dmodem-login.conf -authd
RuntimeDirectory=dmodem-login
RuntimeDirectoryMode=0755
Restart=on-failure
# root for auth = system (PAM's pam_unix); otherwise a user of its own
# that can read dmodem-login.conf and the users file
User=root
[Install]
WantedBy=multi-user.target