Commit Graph

  • 9ea6d25b45 Correct formatting in file Lawrence Woodman 2016-07-12 05:46:52 +01:00
  • 57c4b2b572 Improve testing of Start/Stop/Restart Lawrence Woodman 2016-07-12 05:45:16 +01:00
  • ced353941e Replace use of log with test error reporting Lawrence Woodman 2016-07-09 08:04:43 +01:00
  • 25cec2c076 Merge pull request #65 from LawrenceWoodman/ci2 Daniel Theophanes 2016-07-08 10:19:07 -07:00
  • 1364d3816f Add support for travis, coveralls and appveyor Lawrence Woodman 2016-07-05 14:53:08 +01:00
  • d97d87340b Merge pull request #55 from turtlemonvh/patch-1 Daniel Theophanes 2016-03-01 09:23:23 -08:00
  • e60f1d2d4e Add link to godoc in README Timothy 2016-02-29 19:27:48 -05:00
  • 2dbca8fa3b service: add pidfile option Daniel Theophanes 2016-02-08 13:59:12 -08:00
  • 5f98fcd9ec service: update API to allow for programs that install their own signal handlers. Daniel Theophanes 2016-02-05 09:48:50 -08:00
  • 2954cfdd7b Merge pull request #34 from clns/systemd-restart Daniel Theophanes 2015-10-22 09:11:19 -07:00
  • 86948c68a7 Use 'systemctl restart' when restarting instead of stop/start Calin Seciu 2015-10-22 02:15:48 +03:00
  • 5ab7ce2c8f service: fix misc typos. Daniel Theophanes 2015-09-01 09:34:29 -07:00
  • 06ebab178d Merge pull request #28 from inconshreveable/master Daniel Theophanes 2015-08-10 20:09:35 -07:00
  • b008df209b Change escaping rules of executable paths to cope with older versions of systemd Alan Shreve 2015-08-10 17:23:52 -07:00
  • 1ab12303aa service: block on windows stop so restart is more robust. Daniel Theophanes 2015-06-05 09:22:14 -07:00
  • 3a58801094 service: document CreateService. Daniel Theophanes 2015-06-01 14:43:41 -07:00
  • 354e64f427 service: on darwin add ServiceCreate option. Daniel Theophanes 2015-06-01 14:38:33 -07:00
  • 8af7c18877 Merge pull request #22 from ayufan/homedir_osx Daniel Theophanes 2015-05-25 10:04:39 -07:00
  • 4377cfdbdd Fixed getting homeDir on OSX for cross compilation Kamil Trzcinski 2015-04-11 12:07:33 +02:00
  • 4be10aefd5 service: ensure user home directory is present. Daniel Theophanes 2015-05-21 10:24:30 -07:00
  • 03368a8262 service/example: add comment to example config struct. Daniel Theophanes 2015-05-01 13:55:23 -07:00
  • b1deffcaba service: add comments to exported comments. Daniel Theophanes 2015-05-01 13:53:55 -07:00
  • 4f242c891a service/example: remove trailing return Daniel Theophanes 2015-05-01 13:49:20 -07:00
  • 87e1886ce4 service/example: gofmt -s Daniel Theophanes 2015-05-01 13:47:05 -07:00
  • b7229667de service: make System.String() consistent. Daniel Theophanes 2015-05-01 12:16:19 -07:00
  • 4841cf3be4 service: move UserService field to Option. Update readme. Remove beta tag. Daniel Theophanes 2015-05-01 08:15:06 -07:00
  • eb835b9b7e service: move to windows svc package at x/sys/windows. Daniel Theophanes 2015-05-01 07:58:43 -07:00
  • 3ed03fd6f7 upstart: add working dir and chroot dir. Daniel Theophanes 2015-04-19 17:25:11 -07:00
  • bf10e852e1 sysv: support working directory. Daniel Theophanes 2015-04-19 17:14:10 -07:00
  • 09da6fcd5a service/example/runner: append envs. Daniel Theophanes 2015-03-29 00:11:40 -07:00
  • 842e0b7dbc service/example/runner: write std out, std err to files. Daniel Theophanes 2015-03-28 23:46:22 -07:00
  • 0dd4771d9c service/example: add exec runner. Daniel Theophanes 2015-03-28 23:31:00 -07:00
  • 9a30c55e3f service: add minor docs addition and error messages. Daniel Theophanes 2015-03-26 22:49:40 -07:00
  • 49d681e0cb service: add Config.Executable field to allow service to control other binaries. Daniel Theophanes 2015-03-14 08:49:17 -07:00
  • 17f5541e81 service: return better error messages from executed commands. Daniel Theophanes 2015-03-14 08:14:25 -07:00
  • 32a574a9fb Merge pull request #8 from rnapier/master Daniel Theophanes 2015-03-14 08:08:11 -07:00
  • 4d849b25a4 Remove os.Kill from POSIX platforms where it can't be caught Rob Napier 2015-03-13 17:52:30 -04:00
  • 34797be7d7 Run() should watch for SIGTERM on POSIX platforms Rob Napier 2015-03-13 15:53:26 -04:00
  • f4d161372a service: add ChosenService function. Daniel Theophanes 2015-03-11 13:10:45 -07:00
  • 3a7d893dde service: move windows and darwin to system registry. Daniel Theophanes 2015-03-11 12:42:30 -07:00
  • c880387dea service: break out each linux service into its own file. Daniel Theophanes 2015-03-08 17:29:10 -07:00
  • 9960b33365 service: update Dockerfiles to use better images. Daniel Theophanes 2015-03-07 11:49:46 -08:00
  • 931ef38fea service: add Dockerfiles for linux. Daniel Theophanes 2015-03-07 11:15:15 -08:00
  • 9056e1f7ee service: fix templates. Add full test. Daniel Theophanes 2015-03-07 09:42:36 -08:00
  • 1e3a000092 Merge pull request #7 from inconshreveable/arguments Daniel Theophanes 2015-03-07 08:31:56 -08:00
  • b77e4717bc add support for program arguments in sysv/upstart Alan Shreve 2015-03-07 00:08:30 -08:00
  • f42517a455 Merge pull request #3 from nollan/windep Daniel Theophanes 2015-02-28 06:34:31 -08:00
  • dc8c0fa0b7 Corrected import path to upstream Patric Fors 2015-02-28 13:21:31 +01:00
  • 2577291369 Merge branch 'master' into Dependencies Patric Fors 2015-02-28 12:58:11 +01:00
  • 71a1b6ed85 Add dependencies for Windows Services Patric Fors 2015-02-28 12:52:59 +01:00
  • 9b516c395d Merge pull request #2 from pblaszczyk/osext Daniel Theophanes 2015-02-24 05:57:23 -08:00
  • c2882bf784 deps: Switch osext's repo (bitbucket->github). Paweł Błaszczyk 2015-02-24 09:19:55 +01:00
  • 18c6e7250d service: enable more config params on systemd. Daniel Theophanes 2015-01-24 15:29:42 -08:00
  • 60819611ca service: escape darwin plist. Daniel Theophanes 2015-01-24 14:30:17 -08:00
  • 2a3a81b50f Merge pull request #1 from inconshreveable/master Daniel Theophanes 2015-01-24 13:53:15 -08:00
  • 674f3db7d9 support arguments on darwin Alan Shreve 2015-01-24 01:31:42 -08:00
  • 18e8cc1986 service/example: add a super simple example. Use in doc. Daniel Theophanes 2015-01-21 14:46:30 -08:00
  • dfca0ec817 service: update example to use correct import path. Daniel Theophanes 2015-01-21 14:30:16 -08:00
  • 1e8453e357 service: fix import comment. Daniel Theophanes 2015-01-18 18:11:29 -08:00
  • 3f2da33937 service: use import tag. Daniel Theophanes 2015-01-18 18:08:23 -08:00
  • e2c71385b0 service: enable systemd service. Daniel Theophanes 2015-01-18 17:48:14 -08:00
  • 919c073bb5 service: update readme. Daniel Theophanes 2015-01-18 17:09:07 -08:00
  • 20f13ca16f service: remove DependsOn. Update documentation. Fix test. Daniel Theophanes 2015-01-18 16:58:47 -08:00
  • b7b2695e94 service: move System methods to global functions. Daniel Theophanes 2015-01-18 16:36:42 -08:00
  • d3ed54b2d3 service: rename Config.KV to Config.Option. Daniel Theophanes 2015-01-18 16:22:48 -08:00
  • 11801c088b service: update windows to use arguments. Daniel Theophanes 2015-01-18 16:16:42 -08:00
  • 816e28277e service: update windows to return error from Start and Stop methods. Daniel Theophanes 2015-01-18 14:30:15 -08:00
  • 0de2108b82 service: rename Service.Remove to Service.Uninstall. Daniel Theophanes 2015-01-18 12:35:38 -08:00
  • 46a24fdb2f service: document user services on linux are not supported. Daniel Theophanes 2015-01-13 22:43:18 -08:00
  • 301757bd8a service: add example to comment doc. Daniel Theophanes 2015-01-13 22:00:02 -08:00
  • 2b410d62be service: update comments. Daniel Theophanes 2015-01-13 21:54:35 -08:00
  • bc48b26bdb service: update api. Daniel Theophanes 2015-01-13 21:40:07 -08:00
  • 071b50c909 service: for upstart use INT so go process doesn't stop before Stop handler. Daniel Theophanes 2015-01-13 20:33:11 -08:00
  • da8aebeaad service: update README. Daniel Theophanes 2015-01-13 09:56:52 -08:00
  • b9ab29aa33 service/example: use logger. Daniel Theophanes 2015-01-13 09:45:48 -08:00
  • 8b12f7ccf2 service: move to v2 API (beta). Daniel Theophanes 2015-01-13 09:41:14 -08:00
  • 6d5062006f service: fix windows when path contains spaces. Daniel Theophanes 2014-12-20 23:11:50 -08:00
  • e8fe9e16c3 fix upstart detect. Add platform test. Daniel Theophanes 2014-10-29 09:05:24 -07:00
  • 7a0abbd49c linux: change ifs to switches. Daniel Theophanes 2014-10-29 08:50:16 -07:00
  • fa57b391c2 config: service, but ignore error channel. Daniel Theophanes 2014-08-17 17:05:42 -07:00
  • a62b26890e config: update to fsnotify.v1 Daniel Theophanes 2014-08-17 17:02:59 -07:00
  • 53c3155b66 service: fix darwin bug. Move KV code to central location. Daniel Theophanes 2014-05-30 13:18:12 -07:00
  • 2d3b507a40 service: update darwin to use some extra options. Daniel Theophanes 2014-05-30 13:05:24 -07:00
  • 5174c72421 service/example: clean up after stop. Daniel Theophanes 2014-05-28 11:32:19 -07:00
  • 2c5b2362ec service/example: update to not deadlock. Daniel Theophanes 2014-05-28 11:15:24 -07:00
  • 41caac0c1f service: remove unused const. Daniel Theophanes 2014-05-27 22:21:54 -07:00
  • 782c78354d service: create a new front end api option. Allow backends to be configured. Daniel Theophanes 2014-05-27 22:19:11 -07:00
  • f3ac4f8b66 service: remove un-needed line in upstart config. Daniel Theophanes 2014-05-27 07:13:09 -07:00
  • eb52bdfe36 all: run goimports. Daniel Theophanes 2014-05-27 07:11:50 -07:00
  • 85390beb86 service: fix Linux start & stop command. Daniel Theophanes 2014-05-27 06:59:13 -07:00
  • 95bdef7979 fix linux start & stop command millken chen 2014-05-27 12:31:47 +00:00
  • 66aa50c1e0 better upstart detection Julien Vehent 2014-05-07 13:48:49 -04:00
  • 6c04ccb76d Add System-V support Julien Vehent 2014-04-21 09:09:51 -04:00
  • 8858ef8413 Fixed comment style. Hans Raaf 2014-03-15 00:27:40 +01:00
  • 8ed815943c On Darwin (OS X) the default syslog.log log level is >=NOTICE so the service logger.Info() did no visible logging at all. I promoted "Info" to "Notice" to make the logging visible in console.log without modification of /etc/asl.conf (the system logging configuration file) Hans Raaf 2014-03-15 00:17:40 +01:00
  • a89deee1d5 Update notes, now supporting systemd. Daniel Theophanes 2014-01-31 09:44:17 -08:00
  • 4889b5f340 Add systemd support Tam?s Gul?csi 2014-01-30 18:57:00 +01:00
  • f7f114b2d8 Help only fire config reload once per save. Daniel Theophanes 2013-11-15 12:46:49 -08:00
  • ac6e3972cf config: Use MarshalIndent for config. Daniel Theophanes 2013-09-21 10:46:33 -07:00
  • 90eac82f69 config: Add a default json encoder. Daniel Theophanes 2013-09-21 08:59:37 -07:00