From: Константин <grekonder@ya.ru> To: community@lists.altlinux.org Subject: [Comm] Автозапуск systemd --user Date: Wed, 08 Oct 2014 21:35:12 +0400 Message-ID: <456491412789712@web26g.yandex.ru> (raw) Здравствуйте. Возникла следующая проблема с 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 запускаться при входе пользователя в систему? Спасибо. Константин.
next reply other threads:[~2014-10-08 17:35 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-08 17:35 Константин [this message] 2014-10-08 19:01 ` Michael Shigorin 2014-10-09 17:13 ` Константин
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=456491412789712@web26g.yandex.ru \ --to=grekonder@ya.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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