Compare commits
No commits in common. "4dc445c411e3090fbdfb45df082788c2b62dd219" and "689b9d2d3c47fcc5f85d359c9e4a7863c0667ea1" have entirely different histories.
4dc445c411
...
689b9d2d3c
|
@ -3,8 +3,6 @@
|
|||
name = fanyx
|
||||
|
||||
[alias]
|
||||
co = checkout
|
||||
cn = checkout -b
|
||||
l = log --pretty='format:%h %G? %s%d' -n20 --graph
|
||||
tags = tag -l
|
||||
branches = branch -a
|
||||
|
|
3
.vimrc
3
.vimrc
|
@ -7,8 +7,7 @@ set autoindent
|
|||
" set filetype indent on
|
||||
|
||||
" Tab width
|
||||
" set expandtab
|
||||
set noexpandtab
|
||||
set expandtab
|
||||
set smarttab
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
# drop available services in ~/.config/sv
|
||||
# and link to ~/sv to enable them
|
||||
|
||||
user=
|
||||
user= # insert your username here
|
||||
|
||||
sed -i -e "s/\@USER\@/$user/g" sv/runsvdir/run
|
||||
|
||||
install -d /etc/sv/runsvdir-$user
|
||||
install -m755 sv/runsvdir/run /etc/sv/runsvdir-$user/run
|
||||
sed -i -e "s/\@USER\@/$user/g" /etc/sv/runsvdir-$user/run
|
||||
install -m755 sv/runsvdir/finish /etc/sv/runsvdir-$user/finish
|
||||
sed -i -e "s/\@USER\@/$user/g" /etc/sv/runsvdir-$user/finish
|
||||
ln -sf /run/runit/supervise.runsvdir-$user /etc/sv/runsvdir-$user/supervise
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
user=@USER@
|
||||
USER=@USER@
|
||||
|
||||
sv -w600 force-stop /home/$user/sv/*
|
||||
sv exit /home/$user/sv/*
|
||||
sv -w600 force-stop /home/$USER/sv/*
|
||||
sv exit /home/$USER/sv/*
|
||||
|
|
Loading…
Reference in New Issue