Permalink
Switch branches/tags
Nothing to show
Commits on Nov 15, 2018
  1. Bump Go versions (#153)

    HaraldNordgren authored and kardianos committed Nov 15, 2018
Commits on Sep 10, 2018
  1. Add ability for service to report the system managing the service (#147)

    SteelPhase authored and kardianos committed Sep 10, 2018
    * Add ability for service to report the system managing the service
    
    * Clarify that the output of SystemName should return the same value as Platform in most cases
    
    * Rename SystemName to Platform to match the rest of the package
    
    * be a little more clear in the Platform comment
  2. Merge pull request #146 from osleg/fix/windows-reinstall

    kardianos committed Sep 10, 2018
    Fixes reinstall after uninstall with SC
Commits on Sep 7, 2018
  1. Fixes reinstall after uninstall with SC

    osleg committed Sep 7, 2018
    Fix for #125
Commits on Aug 23, 2018
  1. Potentially resolve issue with os signals (#144)

    SteelPhase authored and kardianos committed Aug 23, 2018
    * change error format
    
    * capture SIGTERM for upstart, ignore SIGKILL
    
    * for windows only notify on SIGINT
Commits on Aug 22, 2018
  1. Add support for retrieving service status (#143)

    SteelPhase authored and kardianos committed Aug 22, 2018
    * update command execution to support returing error codes, and stdout
    
    add function to service interface to support returning service status
    
    clean up places where strings were being converted to strings
    
    * Spelling fix
    
    * Simply service Status method
    
    Add stopped detection to launchd
    Switch to case statements
    Return ErrNotInstalled in situations where we should
Commits on Aug 21, 2018
  1. remove debug statements

    SteelPhase authored and kardianos committed Aug 21, 2018
  2. add file logging support to systemd

    SteelPhase authored and kardianos committed Aug 21, 2018
  3. use /sbin/initctl to detect upstart

    SteelPhase authored and kardianos committed Aug 21, 2018
Commits on Aug 20, 2018
  1. Remove const/structs that were included in error

    SteelPhase authored and kardianos committed Aug 20, 2018
  2. use new versionAtMost function

    SteelPhase authored and kardianos committed Aug 17, 2018
  3. update upstart version check logic

    SteelPhase authored and kardianos committed Aug 17, 2018
  4. update upstart script

    SteelPhase authored and kardianos committed Aug 16, 2018
Commits on Mar 20, 2018
  1. Test with latest 1.10.x release

    AlekSi authored and kardianos committed Mar 20, 2018
    `1.10.x` works now.
Commits on Mar 2, 2018
  1. service: use flag package to correctly run su test

    kardianos committed Mar 2, 2018
  2. BI-1472: Fix upstart service on 0.6.5 and earlier

    rychipman authored and kardianos committed Feb 16, 2018
Commits on Jan 4, 2018
  1. Update service_upstart_linux.go

    itnihao authored and kardianos committed Nov 21, 2017
Commits on Nov 17, 2017
  1. Bump Go versions

    AlekSi authored and kardianos committed Nov 17, 2017
Commits on Sep 26, 2017
  1. For does not work on dash

    EvgeniyPatlan authored and kardianos committed Jul 13, 2017
    IN case of dash(for example default on wheezy) for operator shold be reworked
Commits on May 10, 2017
  1. Update linux upstart detection to support RHEL6 (#92)

    SteelPhase authored and kardianos committed May 10, 2017
    * Update linux upstart detection to support RHEL6
    
    I've added additional detection logic to the isUpstart function, that should validate the existence of upstart on a RHEL 6 system.
    
    * Remove debug message
Commits on Apr 3, 2017
  1. Improved launchctl error handling

    SimonBackx authored and kardianos committed Apr 3, 2017
    Start, stop, install and uninstall errors are now passed correctly on Darwin systems
Commits on Feb 7, 2017
Commits on Nov 19, 2016
  1. Merge pull request #80 from jessecarbon/master

    kardianos committed Nov 19, 2016
    Add support for loading environment variables from optional file
Commits on Nov 8, 2016
Commits on Nov 4, 2016
  1. Merge pull request #79 from jessecarbon/master

    kardianos committed Nov 4, 2016
    Fix SysV pid_file to be consistent when ran from a differently named symlink
Commits on Nov 3, 2016
  1. Fix SysV pid_file to be consistent when ran from a differently named …

    jessecarbon committed Nov 3, 2016
    …symlink
    
    SysV init scripts are ran on boot from symlinks in `/etc/rc.d/rc.X`, where
    X is the runlevel. These symlinks are usually named something like
    `S99foobar`, which is a link to the real script `foobar`. This leads to
    differences in the pid_file filename and can lead to multiple processes
    running. By using readlink to get the actual destination filename, the
    pid_file name should always be consistent.
    
    Resolves: #78
Commits on Aug 24, 2016
  1. Merge pull request #70 from jmccarthy/master

    kardianos committed Aug 24, 2016
    working directory also expects cmdEscaping rules introduced in b008df…
Commits on Aug 22, 2016
  1. Merge pull request #69 from jmccarthy/master

    kardianos committed Aug 22, 2016
    upstart: conditionally set service to run as .UserName variable
Commits on Aug 19, 2016
Commits on Jul 13, 2016
  1. Merge pull request #66 from LawrenceWoodman/improvetest

    kardianos committed Jul 13, 2016
    Improve the TestInstallRunRestartStopRemove test
Commits on Jul 12, 2016