Commit Graph

40 Commits

Author SHA1 Message Date
fbt
f026de8bb1 this ignores whitespace
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 11:52:40 +03:00
fbt
a715783fbf More cgroup stuff
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 10:33:06 +03:00
fbt
f191b625dc rudimentary cgroup support
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 08:07:18 +03:00
fbt
2d748aebc9 can only 'return' from a function or sourced script
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 05:58:23 +03:00
fbt
e733ed4f6a logfile cleanup
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 05:48:40 +03:00
fbt
a5f93916cd ooops :3
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 04:52:15 +03:00
fbt
4dee8a29b6 some cleanup
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 04:47:42 +03:00
fbt
758e841e1e var
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-08 04:38:24 +03:00
fbt
a633061d30 Some more systemd work, a simple DSL
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-07 12:02:12 +03:00
fbt
51d452934a Ho about this then
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-07 09:12:12 +03:00
fbt
3c6fb9796b Another oops
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-07 08:56:33 +03:00
fbt
08b7d5631d oops
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-07 08:47:23 +03:00
fbt
234ee56bed Rudimentary support for systemd services
Signed-off-by: fbt <fbt@fleshless.org>
2018-01-07 08:36:39 +03:00
fbt
903d3e9888 small fix
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-21 16:53:58 +03:00
fbt
025d74179b edit()
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-21 16:12:53 +03:00
fbt
c48486cacf just some silly refactoring
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-16 00:36:32 +03:00
fbt
873f0f6809 rogue debug change, reverting
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-14 18:42:12 +03:00
fbt
492e2aa81b Make internal functions readonly
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-14 18:41:03 +03:00
fbt
905b3e0b37 Full path; default workdir
* Determine our full path and use that instead of /bin/zsh
* Default workdir for all services is now '/'

Signed-off-by: fbt <fbt@fleshless.org>
2017-12-14 07:08:32 +03:00
fbt
32b26b5783 cfg_path bugfix
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-10 20:13:51 +03:00
fbt
6f2db37dff Show the config path in the info
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-10 19:48:22 +03:00
fbt
842662f3d5 Actually, let's move softly
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-10 19:42:25 +03:00
fbt
d9f22bf634 init.d -> services
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-10 19:27:51 +03:00
fbt
587ed04903 init.d and reverse functions load order
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-08 16:49:34 +03:00
fbt
8fdd73af45 More flexibility
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-08 16:39:05 +03:00
fbt
34a43d4db6 also search for services in a package dir
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-08 15:16:03 +03:00
fbt
253fd1f094 default can do arrays now
Signed-off-by: fbt <fbt@fleshless.org>
2017-12-08 14:39:50 +03:00
fbt
b13b47d1c0 show the full service command; do not escape the pager
Signed-off-by: fbt <fbt@fleshless.org>
2017-11-14 16:58:53 +03:00
fbt
8173828c62 stopped services and workdir
Signed-off-by: fbt <fbt@fleshless.org>
2017-11-09 04:19:26 +03:00
fbt
3ead5f0492 better readaility
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 16:25:41 +03:00
fbt
a921025ce9 oops
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 16:20:57 +03:00
fbt
9ae7a6f35e refactor
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 15:37:53 +03:00
fbt
d5c0a30b96 some new stuff
Signed-off-by: fbt <fbt@fleshless.org>
2017-03-12 04:30:36 +03:00
fbt
532f7b0d09 refined info a bit
Signed-off-by: fbt <fbt@fleshless.org>
2017-03-11 17:57:16 +03:00
fbt
1394e52057 removed debug stuff
Signed-off-by: fbt <fbt@fleshless.org>
2017-03-11 17:37:31 +03:00
fbt
7fe65f774b info() and fixes
* Info function
* Fix: removing the pidfile

Signed-off-by: fbt <fbt@fleshless.org>
2017-03-11 17:36:07 +03:00
fbt
9fc3d74501 nicer exit code handling
Signed-off-by: fbt <fbt@fleshless.org>
2016-11-17 13:11:11 +03:00
fbt
0bfb6df3e1 redirect oneshots too
Signed-off-by: fbt <fbt@fleshless.org>
2016-11-17 12:26:23 +03:00
fbt
de5f640323 some path changes
Signed-off-by: fbt <fbt@fleshless.org>
2016-11-14 06:31:53 +03:00
fbt
acb168f880 rename sm into ssm
Signed-off-by: fbt <fbt@fleshless.org>
2016-11-13 19:20:10 +03:00