* [Comm] Автозапуск systemd --user
@ 2014-10-08 17:35 Константин
2014-10-08 19:01 ` Michael Shigorin
0 siblings, 1 reply; 3+ messages in thread
From: Константин @ 2014-10-08 17:35 UTC (permalink / raw)
To: community
Здравствуйте.
Возникла следующая проблема с systemd. Требуется запустить сервис при логине пользователя в графический интерфейс.
Создал файл сервиса, положил его в
/home/username/.config/systemd/user/servicename.service, сделал зависимым от graphical.target
Однако выполнение systemctl --user start servicename.service
Приводит к
Failed to issue method call: Process /bin/false exited with status 1
Проблема решается предварительным запуском systemd для пользователя: systemd --user &
У меня следующий вопрос, как заставить systemd --user запускаться при входе пользователя в систему?
Спасибо.
Константин.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-09 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-08 17:35 [Comm] Автозапуск systemd --user Константин
2014-10-08 19:01 ` Michael Shigorin
2014-10-09 17:13 ` Константин
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git