Replace scripts in systemd with symlinks
This way the actual files reside in the appropriate folders
This commit is contained in:
parent
131b0a87e3
commit
8d042cf2a7
|
@ -3,4 +3,4 @@ Description=CalDAV and CardDAV syncer
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/jeanclaude/Dotfiles/CalCard/sync.sh
|
||||
ExecStart=/home/jeanclaude/.config/systemd/user/dav_syncer.startup
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /home/jeanclaude/.config/zsh/.zprofile
|
||||
export GPG_TTY=$(tty)
|
||||
/home/jeanclaude/Dotfiles/CalCard/sync.sh
|
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Mailbox syncronisation service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/jeanclaude/.config/systemd/user/mbsync.startup
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /home/jeanclaude/.config/zsh/.zprofile
|
||||
export GPG_TTY=$(tty)
|
||||
/home/jeanclaude/bin/mailChecker.sh -c
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Mailbox synchronization timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2m
|
||||
OnUnitActiveSec=5m
|
||||
Unit=mbsync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
|
@ -0,0 +1 @@
|
|||
../../CalCard/dav_syncer.service
|
|
@ -0,0 +1 @@
|
|||
../../CalCard/dav_syncer.startup
|
|
@ -0,0 +1 @@
|
|||
/home/jeanclaude/Dotfiles/CalCard/dav_syncer.timer
|
|
@ -0,0 +1 @@
|
|||
../../CalCard/dav_syncer.timer
|
|
@ -1,6 +0,0 @@
|
|||
[Unit]
|
||||
Description=Mailbox syncronisation service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/jeanclaude/.config/systemd/user/mbsync.startup
|
|
@ -0,0 +1 @@
|
|||
../../Mail/mbsync.service
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /home/jeanclaude/.config/zsh/.zprofile
|
||||
export GPG_TTY=$(tty)
|
||||
/home/jeanclaude/bin/mailChecker.sh -c
|
|
@ -0,0 +1 @@
|
|||
../../Mail/mbsync.startup
|
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=Mailbox synchronization timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2m
|
||||
OnUnitActiveSec=5m
|
||||
Unit=mbsync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
|
@ -0,0 +1 @@
|
|||
../../Mail/mbsync.timer
|
|
@ -1 +0,0 @@
|
|||
/home/jeanclaude/.config/systemd/user/vdirsyncer.timer
|
Loading…
Reference in New Issue