Graphical interface for sv (control and manage services monitored by runsv)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
daltomi b3eda61471
Ask about services before restart
2 days ago
icons Add new command: restart 3 days ago
src Ask about services before restart 2 days ago
.gitignore Update gitignore 3 days ago
Makefile Ask about services before restart 2 days ago
README.md Update readme 5 days ago
screenshot.png Update screenshot 3 days ago

README.md

xsv

Graphical interface for sv (control and manage services monitored by runsv)

Support

I use ArtixLinux, and the project is designed for it.

If you use another distribution you can experiment with the preprocessor directives and always compile in debug mode.

Dependencies

  • C++ standard: >= c++11

  • Libraries : fltk (>= 1.3.4rc1)

  • Build: g++, make, fltk-config

Build

make debug
-- or --
make release
  • This program needs to be run with administrator permissions.

Preprocessor directives

Directive Description Default Type
SV sv binary /usr/bin/sv string
SV_DIR available services directory /etc/runit/sv string
SV_RUN_DIR services directory /run/runit/service string
TIME_UPDATE seconds of updating the list of service 5 integer
FONT FLTK font name FL_HELVETICA integer
FONT_SZ font size 11 integer
ASK_SERVICES ask about these services before down/remove tty,dbus,udev,elogind string

Example

File my_define.h

#define SV "/usr/local/bin/sv"
#define SV_DIR "/etc/local/runit/sv"

Then run make in your terminal:

CXXFLAGS="-include my_define.h" make debug

Makefile targets:

Target Description
clean Clean the project directory
debug Build the executable with debug symbols
release Build the executable for performance
dist Create a compressed file with the project files