diff options
author | David Runge <dave@sleepmap.de> | 2015-06-27 14:28:59 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-06-27 14:28:59 +0200 |
commit | d3b1ce4899c71d0ff41313a7bce092b39f0f3168 (patch) | |
tree | 3aa7ec304c1a473c80e0fe7632eddbd1d33e76ee /user/monitoring.service | |
parent | 31f2e1b25b593b3c935518151774d23358f3a20f (diff) | |
download | uenv-d3b1ce4899c71d0ff41313a7bce092b39f0f3168.tar.gz uenv-d3b1ce4899c71d0ff41313a7bce092b39f0f3168.tar.bz2 uenv-d3b1ce4899c71d0ff41313a7bce092b39f0f3168.tar.xz uenv-d3b1ce4899c71d0ff41313a7bce092b39f0f3168.zip |
user/monitoring.service: Adding the creation of TMUX_TMPDIR if not created yet.
Diffstat (limited to 'user/monitoring.service')
-rw-r--r-- | user/monitoring.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/monitoring.service b/user/monitoring.service index 88da36b..fb9fa1b 100644 --- a/user/monitoring.service +++ b/user/monitoring.service @@ -10,6 +10,7 @@ ConditionFileIsExecutable=/usr/bin/loginctl Type=forking KillMode=control-group Environment=TMUX_TMPDIR=/run/user/%U/tmux +ExecStartPre=/usr/bin/mkdir -p $TMUX_TMPDIR ExecStart=/usr/bin/tmux -L mon new-session -d -s mon -n htop htop ExecStartPost=/usr/bin/tmux -L mon new-window -n glances glances ExecStartPost=/usr/bin/tmux -L mon new-window -n loginctl "watch -n1 loginctl user-status %U" |