diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-04-04 13:12:14 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-04-04 13:12:14 -0400 |
commit | 495e029bfd0c53d04429940629e7200fd9e8b095 (patch) | |
tree | 1637085f5dab0335a834039db27b5d6d9d0c8274 /.config/systemd/user | |
parent | 4ab7be69dc77bf158fe89fffd816b9cc9212cb75 (diff) |
move the daemon stuff to use a systemd user instance
Diffstat (limited to '.config/systemd/user')
3 files changed, 27 insertions, 0 deletions
diff --git a/.config/systemd/user/default.target.wants/batterymon.service b/.config/systemd/user/default.target.wants/batterymon.service new file mode 100644 index 0000000..c8abc0d --- /dev/null +++ b/.config/systemd/user/default.target.wants/batterymon.service @@ -0,0 +1,9 @@ +[Unit] +Description=Battery monitor + +[Service] +Type=simple +ExecStart=/usr/bin/batterymon 20 "amixer sset Master unmute 100%; espeak 'PLUG ME IN'; sleep 7;" + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service new file mode 100644 index 0000000..ef8f65f --- /dev/null +++ b/.config/systemd/user/default.target.wants/emacs-daemon.service @@ -0,0 +1,9 @@ +[Unit] +Description=Emacs deamon + +[Service] +Type=forking +ExecStart=/bin/bash -l -c 'emacs --daemon' + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/gpg-agent.service b/.config/systemd/user/default.target.wants/gpg-agent.service new file mode 100644 index 0000000..a9de9b2 --- /dev/null +++ b/.config/systemd/user/default.target.wants/gpg-agent.service @@ -0,0 +1,9 @@ +[Unit] +Description="GnuPG agent daemon" + +[Service] +Type=forking +ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${HOME}/.sessions/gpg + +[Install] +WantedBy=default.target |