Скрипт (1):
Код: Выделить всё
#! /bin/bash
gnome-extensions list > /tmp/log
Код: Выделить всё
[Unit]
Description=ROT13 demo service
After=network.target
StartLimitIntervalSec=0[Service]
Restart=always
RestartSec=1
[Service]
ExecStart=/home/ibse/main.sh # path to the script (1)
Type=simple
[Install]
WantedBy=multi-user.target
Когда я запускаю список расширений gnome с терминала, он показывает:
Код: Выделить всё
example@gjs.guide
ext1@ext.com
ext2@ext.com
Подробнее здесь: https://stackoverflow.com/questions/787 ... om-service
Мобильная версия