17 lines
747 B
INI
17 lines
747 B
INI
# APT News is hosted at https://motd.ubuntu.com/aptnews.json and can include
|
|
# timely information related to apt updates available to your system.
|
|
# This service runs in the background during an `apt update` to download the
|
|
# latest news and set it to appear in the output of the next `apt upgrade`.
|
|
# The script won't do anything if you've run: `pro config set apt_news=false`.
|
|
# The script will limit network requests to at most once per 24 hours.
|
|
# You can also host your own aptnews.json and configure your system to use it
|
|
# with the command:
|
|
# `pro config set apt_news_url=https://yourhostname/path/to/aptnews.json`
|
|
|
|
[Unit]
|
|
Description=Update APT News
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/python3 /usr/lib/ubuntu-advantage/apt_news.py
|