feat: systemd, unbound, more packages, dots venv
This commit is contained in:
parent
45076c5231
commit
9c4a6a4341
15 changed files with 291 additions and 48 deletions
10
ansible/templates/systemd/system/xremap.service
Normal file
10
ansible/templates/systemd/system/xremap.service
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Unit]
|
||||
Description=xremap
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStart=xremap {{ home }}/.config/xremap/config.yaml --watch
|
||||
|
||||
12
ansible/templates/systemd/user/hourly_remainder.service
Normal file
12
ansible/templates/systemd/user/hourly_remainder.service
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Send notif about time
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=no
|
||||
ExecStart={{ home }}/.dots/scripts/notify_time.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
11
ansible/templates/systemd/user/hourly_remainder.timer
Normal file
11
ansible/templates/systemd/user/hourly_remainder.timer
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Run every hour to remind the user about the time passing by
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
OnCalendar=*:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
14
ansible/templates/systemd/user/popequer_gitwatch@.service
Normal file
14
ansible/templates/systemd/user/popequer_gitwatch@.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Sync popequer notebook with git
|
||||
|
||||
[Service]
|
||||
# the buffer period in seconds 5min = 300s
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/gitwatch -r origin -s 300 {{ home }}/notebooks/%i
|
||||
ExecStop=/bin/true
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
15
ansible/templates/systemd/user/sshfs_srv06_warmd.service
Normal file
15
ansible/templates/systemd/user/sshfs_srv06_warmd.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=SSHFS Daemon to mount srv06 warmd as a volume
|
||||
StartLimitInterval=200
|
||||
StartLimitBurst=8
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/sshfs -f {{ user }}@srv06.rem:/warmd/mbess {{ home }}/.mnt/warmd -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=5
|
||||
Restart=always
|
||||
StandardOutput=journal
|
||||
RestartSec=20
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue