1
0
mirror of https://gitlab.com/dbrw/ansible-setup.git synced 2025-08-04 13:05:41 +07:00

update user services

This commit is contained in:
dbrw 2022-07-08 16:49:14 +07:00
parent 5fd615cc54
commit 2760e8f99d
Signed by: dhimas
GPG Key ID: 8D5D880EB08F1544
5 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[Unit]
Description=GnuPG cryptographic agent and passphrase cache (restricted)
Documentation=man:gpg-agent(1)
[Socket]
ListenStream=%t/gnupg/S.gpg-agent.extra
FileDescriptorName=extra
Service=gpg-agent.service
SocketMode=0600
DirectoryMode=0700
[Install]
WantedBy=sockets.target

View File

@ -0,0 +1,13 @@
[Unit]
Description=GnuPG cryptographic agent (ssh-agent emulation)
Documentation=man:gpg-agent(1) man:ssh-add(1) man:ssh-agent(1) man:ssh(1)
[Socket]
ListenStream=%t/gnupg/S.gpg-agent.ssh
FileDescriptorName=ssh
Service=gpg-agent.service
SocketMode=0600
DirectoryMode=0700
[Install]
WantedBy=sockets.target

View File

@ -0,0 +1,13 @@
[Unit]
Description=GnuPG cryptographic agent and passphrase cache
Documentation=man:gpg-agent(1)
Requires=gpg-agent.socket
PartOf=graphical-session.target
After=graphical-session.target
[Service]
ExecStart=/usr/bin/gpg-agent --supervised
ExecReload=/usr/bin/gpgconf --reload gpg-agent
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=GnuPG cryptographic agent and passphrase cache
Documentation=man:gpg-agent(1)
[Socket]
ListenStream=%t/gnupg/S.gpg-agent
FileDescriptorName=std
SocketMode=0600
DirectoryMode=0700
[Install]
WantedBy=sockets.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=xset - user preference utility for X
Documentation=man:xset(1)
PartOf=graphical-session.target xset.service
After=graphical-session.target
[Service]
Type=oneshot
ExecStart=/usr/bin/xset +dpms dpms 0 0 600
[Install]
WantedBy=graphical-session.target