<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>mbsync on J&#39;aime pas les piles</title>
    <link>https://blog.bapt.name/tags/mbsync/</link>
    <description>Recent content in mbsync on J&#39;aime pas les piles</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>This work is licensed under WTFPL.</copyright>
    <lastBuildDate>Tue, 10 Oct 2017 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.bapt.name/tags/mbsync/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>User-level systemd services</title>
      <link>https://blog.bapt.name/2017/10/10/user-level-systemd-services/</link>
      <pubDate>Tue, 10 Oct 2017 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bapt.name/2017/10/10/user-level-systemd-services/</guid>
      <description>Recovered 2026-07-13 from the generated HTML preserved in the blog-old repository (master branch) — the markdown source of the short-lived October 2017 blog incarnation was never committed. Original publication: 2017-10-10.
 Goal: Launching mbsync as a user using systemd and in a cron-like manner.
For this a systemd timer will launch a systemd service.
mkdir -p ~/.config/systemd/user vim ~/.config/systemd/user/mbsync.service # mbsync.service [Unit] Description=Mailbox synchronization service After=network.target network-online.target dbus.socket [Service] Type=oneshot ExecStart=/usr/bin/mbsync -Va ExecStartPost=/usr/bin/notmuch new StandardOutput=syslog StandardError=syslog vim ~/.</description>
    </item>
    
  </channel>
</rss>
