[Unit] Description=profanity # background: i originally started profanity as a system service after # networking-online.target but strangely, it had a hidden lock on /p # preventing it from unmounting, and the only thing in /p i can see it # using is gpg. I could try to get this to run after the last target, # which is default.target, but all I can find documented on how to do # this is to do this strange unexplained thing of making a new target, # aliasing it to the default target and also make it # After=default.target. I figured this probably works and is simpler. After=gpg-agent.service [Service] # tmux requirement Type=forking # new-session is a tmux command which allows launching profanity. ExecStart=/usr/bin/tmux -L profanity new-session -d profanity [Install] WantedBy=default.target