services: Disable systemd service linking
I have not used (most) of these services in a long time. This makes the unlinking more official. Also paves the way for setting up simple runit-managed user services.
This commit is contained in:
parent
1568ca0534
commit
aca7b60855
18 changed files with 2 additions and 0 deletions
8
services/systemd/.config/systemd/user/dirmngr.service
Normal file
8
services/systemd/.config/systemd/user/dirmngr.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=GnuPG network certificate management daemon
|
||||
Documentation=man:dirmngr(8)
|
||||
Requires=dirmngr.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/dirmngr --supervised
|
||||
ExecReload=/usr/bin/gpgconf --reload dirmngr
|
||||
11
services/systemd/.config/systemd/user/dirmngr.socket
Normal file
11
services/systemd/.config/systemd/user/dirmngr.socket
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=GnuPG network certificate management daemon
|
||||
Documentation=man:dirmngr(8)
|
||||
|
||||
[Socket]
|
||||
ListenStream=%t/gnupg/S.dirmngr
|
||||
SocketMode=0600
|
||||
DirectoryMode=0700
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=GnuPG cryptographic agent and passphrase cache (access for web browsers)
|
||||
Documentation=man:gpg-agent(1)
|
||||
|
||||
[Socket]
|
||||
ListenStream=%t/gnupg/S.gpg-agent.browser
|
||||
FileDescriptorName=browser
|
||||
Service=gpg-agent.service
|
||||
SocketMode=0600
|
||||
DirectoryMode=0700
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
13
services/systemd/.config/systemd/user/gpg-agent-extra.socket
Normal file
13
services/systemd/.config/systemd/user/gpg-agent-extra.socket
Normal 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
|
||||
13
services/systemd/.config/systemd/user/gpg-agent-ssh.socket
Normal file
13
services/systemd/.config/systemd/user/gpg-agent-ssh.socket
Normal 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
|
||||
8
services/systemd/.config/systemd/user/gpg-agent.service
Normal file
8
services/systemd/.config/systemd/user/gpg-agent.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=GnuPG cryptographic agent and passphrase cache
|
||||
Documentation=man:gpg-agent(1)
|
||||
Requires=gpg-agent.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/gpg-agent --supervised
|
||||
ExecReload=/usr/bin/gpgconf --reload gpg-agent
|
||||
12
services/systemd/.config/systemd/user/gpg-agent.socket
Normal file
12
services/systemd/.config/systemd/user/gpg-agent.socket
Normal 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
|
||||
9
services/systemd/.config/systemd/user/mbsync.service
Normal file
9
services/systemd/.config/systemd/user/mbsync.service
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Mailbox synchronization service
|
||||
Wants=network-online.target gpg-agent.socket
|
||||
After=network.target network-online.target dbus.socket gpg-agent.socket
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# workaround to allow relative executable invocation (i.e. current users' home dir)
|
||||
ExecStart=/bin/bash -c '%h/.local/bin/sync-mail'
|
||||
10
services/systemd/.config/systemd/user/mbsync.timer
Normal file
10
services/systemd/.config/systemd/user/mbsync.timer
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Mailbox synchronization timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1m
|
||||
OnUnitActiveSec=1h
|
||||
Unit=mbsync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
|
@ -0,0 +1 @@
|
|||
../dirmngr.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
../gpg-agent-browser.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
../gpg-agent-extra.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
../gpg-agent-ssh.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
../gpg-agent.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
../mbsync.timer
|
||||
Loading…
Add table
Add a link
Reference in a new issue