aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-08 21:56:30 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-08 21:56:30 +0200
commit3b15d8dcd8912825281367ed959d7ad212e6a0ab (patch)
tree3424d6ae34c3da6dc7303d1a36cf8573d2ac1c54 /profile
parent8d39ed9e2804c6c9ed42aa685f6eb2f7c38fbbea (diff)
downloadmyconfigs-3b15d8dcd8912825281367ed959d7ad212e6a0ab.tar.gz
myconfigs-3b15d8dcd8912825281367ed959d7ad212e6a0ab.tar.bz2
myconfigs-3b15d8dcd8912825281367ed959d7ad212e6a0ab.zip
Add user services
Diffstat (limited to 'profile')
-rw-r--r--profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/profile b/profile
index ee3522c..cbee52d 100644
--- a/profile
+++ b/profile
@@ -2,8 +2,11 @@
[[ "$(tty)" != /dev/tty* ]] && return
# Start music player daemon
-mpd ~/.config/mpd/mpd.conf
+~/.service/mpd -q status || ~/.service/mpd start
# Start email synchronization
~/.local/sbin/syncemail
+# Start syncthing
+~/.service/syncthing -q status || ~/.service/syncthing start
+
# And if we are on first terminal also automatically start x server
[ "$(tty)" = "/dev/tty1" ] && exec startx -- vt1