Skip to content

build: Add systemd service file installation support#6

Merged
Jairaj-quic merged 2 commits intoquic:developmentfrom
Jairaj-quic:development
Jan 23, 2026
Merged

build: Add systemd service file installation support#6
Jairaj-quic merged 2 commits intoquic:developmentfrom
Jairaj-quic:development

Conversation

@Jairaj-quic
Copy link
Contributor

Add autotools support for systemd service file installation. The service file is installed to /lib/systemd/system/ during 'make install' when systemd is detected via pkg-config.

Changes:

  • configure.ac: Add systemd detection with --with-systemdsystemunitdir option
  • Makefile.am: Add conditional service file installation
  • time-daemon.service: Add service file to repository

For system install: ./configure && make && sudo make install
For local builds: ./configure --prefix=$(pwd)/install --without-systemdsystemunitdir

Add autotools support for systemd service file installation.
The service file is installed to /lib/systemd/system/ during
'make install' when systemd is detected via pkg-config.

Changes:
- configure.ac: Add systemd detection with --with-systemdsystemunitdir option
- Makefile.am: Add conditional service file installation
- time-daemon.service: Add service file to repository

For system install: ./configure && make && sudo make install
For local builds: ./configure --prefix=$(pwd)/install --without-systemdsystemunitdir

Signed-off-by: Jairaj Solanki <jsolanki@qti.qualcomm.com>
@Jairaj-quic Jairaj-quic force-pushed the development branch 2 times, most recently from 5d72f85 to 946ae9a Compare January 23, 2026 12:04
- Update version from 1.0.0 to 0.1.1 in configure.ac
- Update build_script.sh to use sudo for make install

Signed-off-by: Jairaj Solanki <jsolanki@qti.qualcomm.com>
@Jairaj-quic Jairaj-quic merged commit a2920de into quic:development Jan 23, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments