Commit Graph

  • a874dd2618 place systemd units in /usr/lib/systemd/system master s.solodyagin 2024-10-08 17:35:33 +03:00
  • e85abb7d03 Merge remote-tracking branch 'upstream/master' s.solodyagin 2024-07-15 11:04:37 +03:00
  • becf2eb62b fix: systemd service uninstall Bogdan Rozhkov 2023-05-15 19:30:44 +03:00
  • 4ac50d86f3 service: go fmt comments Daniel Theophanes 2024-06-13 08:31:55 -05:00
  • 0811cea833 rename s.solodyagin 2024-04-03 20:39:20 +03:00
  • 9832e01049 freebsd: ensure config directory is created Cuong Manh Le 2023-02-15 23:25:29 +07:00
  • 3596dfaf34 Add support for Initialisation Scripts with rcS (#340) Maycon Santos 2022-10-11 14:13:05 +02:00
  • f4a4df2b5e Update launchd template (#346) Nate Felton 2022-10-10 18:02:22 -04:00
  • 645b10f1a8 Add EnvVars to linux init.d (#339) optim-aizawa 2022-10-11 07:00:23 +09:00
  • 380dcf887e Replace deprecated IsAnInteractiveSession() call (#344) Marco Pfatschbacher 2022-10-10 23:59:33 +02:00
  • 6547573c4d Do not create windows services with an empty environment key (#343) Marco Pfatschbacher 2022-10-10 23:56:32 +02:00
  • 29f8c79c51 Windows access service with minimal perms (#313) tomfeigin 2022-04-28 15:57:17 +03:00
  • abe98a9274 Provide custom log directory for posix (#311) tomfeigin 2022-04-28 15:56:17 +03:00
  • bc65850ac5 Allow setting environment variables for services (#312) tomfeigin 2022-04-27 15:11:36 +03:00
  • ff1da96551 Run systemd commands with --user flag (#310) tomfeigin 2022-04-27 15:10:17 +03:00
  • ed46af2312 Replace std out/err path to an existing directory (#307) Ali Yousuf 2022-04-27 17:08:57 +05:00
  • 5c08916379 fix: use /etc/rc.d/rc2.d instead of /etc/rc2.d depending on AIX version (#317) Marcel Gebhardt 2022-01-26 16:11:01 +01:00
  • 6fe2824ee8 aix issue 242: improved test, if process runs as child of srcmstr (#302) chbuescher 2021-11-11 18:20:41 +01:00
  • b9d1d5b727 fix: sysv linux not support ps $pid (#299) Yujie.Zhao 2021-11-05 00:38:26 +08:00
  • a323c3813b fix for the openrc status func (#283) Karen Almog 2021-07-28 02:15:19 +02:00
  • 36c9bf8c36 fix windows build Daniel Theophanes 2021-06-15 20:19:51 -05:00
  • 5f1fed4906 patch the error text to check a syscall number instead (#276) Alex Collins 2021-06-15 13:18:25 -06:00
  • a8dda22bce fix windows build Daniel Theophanes 2021-06-10 09:36:42 -05:00
  • 17a2c7bcb5 Adds service control options for Windows service. (#258) Eugene 2021-06-10 08:11:16 -04:00
  • c7e6b82e87 allow inteactive setting mode for windows (#253) Aram 2021-06-10 13:02:15 +01:00
  • 8eb6809ed2 Add documentation for platform options and expose to Godoc (#266) djdv 2021-06-10 07:49:49 -04:00
  • 82b10ec284 service(darwin): fix status regression (#273) Arran Walker 2021-06-10 12:42:10 +01:00
  • 3b7119afcd Fix interaction with systemd (#274) Tomasz Maczukin 2021-06-10 13:40:54 +02:00
  • ef35c56320 Add support for OpenRC services (alpine/busybox) (#252) Karen Almog 2020-12-11 15:35:37 +01:00
  • 18c957a3dc service: go fmt Daniel Theophanes 2020-11-17 11:30:05 -06:00
  • 41add7e3c9 Shutdowner interface and Windows trigger (#225) jhvaras 2020-11-16 15:58:05 +01:00
  • 258d7b252b Run commands as user on systemd when using user service (#224) Oliver Kraemer 2020-11-16 11:55:05 -03:00
  • 60dcbae4c5 Fix issue with systemd inactive status. (#243) Blake Rouse 2020-11-16 09:52:11 -05:00
  • a91b404a4f service(windows): add support for delayed auto start service (#244) Utkarsh Dixit 2020-11-16 20:17:17 +05:30
  • 19f776cc5f Detection of interactive session fixed for systemd user services (#246) pavelbazika 2020-11-16 15:45:35 +01:00
  • 5dd9ac4ef7 Update .travis.yml (#248) santosh653 2020-11-16 09:44:20 -05:00
  • 7c688a995c chore: Add explicit AIX tag to AIX specific sources (#245) secDre4mer 2020-10-27 17:28:19 +01:00
  • a1c091bc7f Added LimitNOFILE option in systemd configuration (#94) Simon Backx 2020-06-07 20:51:47 +02:00
  • f5ff0fc585 Clarify Interface.Start() documentation comment (#179) Jakob Borg 2020-06-07 20:43:39 +02:00
  • f6135ae0e8 service: do not run user service test by default (fails in CI) Daniel Theophanes 2020-06-07 11:39:12 -07:00
  • ec63d01a8d support systemd user services (#185) Julius Berger 2020-06-07 20:34:08 +02:00
  • 14b2cc59a2 Add FreeBSD support (#197) Olivier Poitrey 2020-06-07 11:28:44 -07:00
  • 6fb11709cd Fixed typo in function documentation Gadzev 2019-12-17 23:21:47 +01:00
  • 15406c80f4 Return a better status for "activating" SteelPhase 2020-05-14 10:53:43 -04:00
  • 095e475882 service: on windows close service handle on status Daniel Theophanes 2020-06-07 11:06:18 -07:00
  • 5544762d3e service/example/runner: do not check ProcessState as it may be nil Daniel Theophanes 2020-06-07 11:01:04 -07:00
  • 2ce04d92a6 service: requrie go1.12 due to aix Daniel Theophanes 2020-06-07 10:46:29 -07:00
  • 5ab104476c Fixing systemd complaint that service configurations are world-inaccessible after install Anthony "Ishpeck" Tedjamulia 2020-06-03 13:35:48 -06:00
  • 3c356ae54c Upstart supports the "restart" option (#193) Dean(老路) 2019-12-11 11:17:25 +08:00
  • 7c2e4f75a4 Initial support for aix and solaris (#194) chbuescher 2019-12-11 04:14:15 +01:00
  • 6b582019e8 Redirect logs to std for mac (#196) ANDREY KHASANOV 2019-12-11 06:12:41 +03:00
  • 4df36c9fc1 Fix the inability to start with logger in docker contianer (#178) Rustam 2019-10-18 03:57:39 +13:00
  • 28e7e9edbb bugfix(unix): Check for and ingore "Operating in progress" (#182) Liam Haworth 2019-10-18 01:56:41 +11:00
  • fffe6c52ed Support the systemd option setting for 'Restart' and 'SuccessExitStatus (#168) Rozen Lin 2019-05-14 08:51:56 -07:00
  • 61d6d01901 Linux systemd: two small fixes (#171) Peter Hommel 2019-05-14 17:36:39 +02:00
  • 0e5bec1b9e Systemd/dep (#165) RozenLin 2019-03-26 09:10:25 -07:00
  • 56787a3ea0 remove dep on osext Daniel Theophanes 2019-02-08 09:29:24 -08:00
  • 4c239ee84e Bump Go versions (#153) Harald Nordgren 2018-11-15 01:55:16 +01:00
  • b1866cf769 Add ability for service to report the system managing the service (#147) SteelPhase 2018-09-10 18:42:44 -04:00
  • 2b860c2dd7 Merge pull request #146 from osleg/fix/windows-reinstall Daniel Theophanes 2018-09-10 15:17:54 -07:00
  • 73cafb2ed3 Fixes reinstall after uninstall with SC Alex Kir 2018-09-07 15:42:59 +08:00
  • 8f267d80f2 Potentially resolve issue with os signals (#144) SteelPhase 2018-08-22 20:15:10 -04:00
  • 45244176fc Add support for retrieving service status (#143) SteelPhase 2018-08-22 14:05:01 -04:00
  • 4cdeddd6f4 remove debug statements SteelPhase 2018-08-21 09:33:18 -04:00
  • 4f2cc00692 stdout/stderr isn't supported by all versions of systemd SteelPhase 2018-08-21 09:24:25 -04:00
  • e5178e50d2 add support for overriding service templates at runtime SteelPhase 2018-08-21 07:42:03 -04:00
  • 994866c14a add file logging support to systemd SteelPhase 2018-08-20 23:18:32 -04:00
  • 3bfa85e2d7 use /sbin/initctl to detect upstart SteelPhase 2018-08-20 23:28:15 -04:00
  • 18492ae499 Remove const/structs that were included in error SteelPhase 2018-08-20 13:53:47 -04:00
  • 46447978a4 use new versionAtMost function SteelPhase 2018-08-17 18:54:51 -04:00
  • d1814f7d33 update upstart version check logic SteelPhase 2018-08-17 18:49:43 -04:00
  • 1166804cbc update upstart script SteelPhase 2018-08-16 18:04:58 -04:00
  • 615a14ed75 Test with latest 1.10.x release Alexey Palazhchenko 2018-03-20 13:02:15 +03:00
  • 0ab6efe2ea service: use flag package to correctly run su test Daniel Theophanes 2018-03-02 15:11:09 -08:00
  • 1dd765d045 BI-1472: Fix upstart service on 0.6.5 and earlier Ryan Chipman 2018-02-16 12:56:57 -05:00
  • 89346fbade Update service_upstart_linux.go itnihao 2017-11-20 19:38:36 -06:00
  • 14a49b39b3 Bump Go versions Alexey Palazhchenko 2017-11-17 10:03:34 +03:00
  • f53685ef76 For does not work on dash Evgeniy Patlan 2017-07-13 20:28:44 +03:00
  • f6635a45ec service: add missing imports Daniel Theophanes 2017-05-10 12:40:35 -07:00
  • a37cd5efa8 Update linux upstart detection to support RHEL6 (#92) SteelPhase 2017-05-10 08:15:22 -04:00
  • e173e96a4e Improved launchctl error handling Simon Backx 2017-04-03 19:52:20 +02:00
  • ef06f2f890 service: do not call osext if go1.8+ is used Daniel Theophanes 2017-02-07 11:25:40 -08:00
  • 6d3a0ee7d3 Merge pull request #80 from jessecarbon/master Daniel Theophanes 2016-11-19 13:06:48 -08:00
  • bd219ce2c8 Add support for loading environment variables from optional file Jesse Jarzynka 2016-11-08 14:17:29 -05:00
  • 6a55aece86 Merge pull request #79 from jessecarbon/master Daniel Theophanes 2016-11-03 17:29:35 -07:00
  • 03b7b20ce7 Fix SysV pid_file to be consistent when ran from a differently named symlink Jesse Jarzynka 2016-11-03 13:33:19 -04:00
  • 7a88211485 Merge pull request #70 from jmccarthy/master Daniel Theophanes 2016-08-23 17:03:17 -07:00
  • 6636ccb00f working directory also expects cmdEscaping rules introduced in b008df209b Justin McCarthy 2016-08-22 11:45:12 -07:00
  • ca5fc5f6dc Merge pull request #69 from jmccarthy/master Daniel Theophanes 2016-08-22 08:56:10 -07:00
  • 58e40a0bfa conditionally set service to run as .UserName variable Justin McCarthy 2016-08-19 15:45:40 -07:00
  • 5e33559005 Merge pull request #66 from LawrenceWoodman/improvetest Daniel Theophanes 2016-07-13 06:32:37 -07:00
  • 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