mostly fixes
[distro-setup] / subdir_files / .config / systemd / user / profanity.service
1 [Unit]
2 Description=profanity
3 # background: i originally started profanity as a system service after
4 # networking-online.target but strangely, it had a hidden lock on /p
5 # preventing it from unmounting, and the only thing in /p i can see it
6 # using is gpg. I could try to get this to run after the last target,
7 # which is default.target, but all I can find documented on how to do
8 # this is to do this strange unexplained thing of making a new target,
9 # aliasing it to the default target and also make it
10 # After=default.target. I figured this probably works and is simpler.
11 After=gpg-agent.service
12
13 [Service]
14 # bash is required to get colors working
15 ExecStart=/usr/bin/screen -S profanity -Dm /bin/bash -c profanity
16
17 [Install]
18 WantedBy=default.target