Pacman should run `systemd daemon-reload` when updating .service files

Every time pacman updates a service like ngingx; I would like to restart that service to propagate the changes. However; systemd always complains that the service file was updated. It would be nice if pacman would do this for me. Is it possible to extend pacman in userland, so I can execute this command whenever a .service file is touched? Or should I write a pacman wrapper that uses inotify to detect this?
Anyone knows if this is currently possible? I'm also interested in feedback; I'll post a feature-request on the bugtracker depending on your replies
Last edited by Spider.007 (2013-11-23 13:32:54)

graysky wrote:Glad to hear the underlying code is coming together.  I have noticed that nfs exports simply stop working when the nfs-utils package is updated, so having the underlying services restart after the update would be a welcomed addition.
You could have systemd watch for changes to a relevant file or directory and restart the service. Not as neat but possibly useful if you haven't thought of it already.

Similar Messages

  • How to make the browser reload an updated jar-file?

    Hi there,
    Previosly when running applets using MSIE, all needed to reload an updated jar-file was pressing CTRL+F5
    Currently I've been assigned to re-develop some of my old applets and now I realize that the old CTRL+F5 won't do the trick any more since the old jar file is still in the cache and the new jar file is not loaded.
    I learned the hard way that all I can do is to manually clear the cache of the browser (Tools | Options | Delete files) and restart the browser and after that the new jar file is correctly loaded.
    Cache settings of the browser is set to "Reload on every visit to the page"
    Currently running Win2k, MSIE 6.0 SP1 and MSJVM 3809 but the problem also exists on Win2k, MSIE 6.0 and MSJVM 3186.
    Isn't there any easier way to do this?
    Currently I don't even mind not caching the jar-files at all as long as I don't get my development work trashed by having to restart the browser after every new build...
    Why has the old CTRL+F5 behaviour been changed?
    BR
    /Jonas

    I have been closing IE and reopening it for 7 months now. I don't of any other way to reload an applet.
    Jason

  • Sharepoint 2013 - Which Server Should Run Microsoft SharePoint Foundation Sandboxed Code Service

    We have just deployed Sharepoint 2013 and also CRM 2011..
    Our Sharepoint 2013 Environment has a WFE and an APP server and we have a CRM 2011 box.
    We have been getting the following error in IE when Users in CRM are clicking on the Document Link under accounts which links to Sharepoint 2013
    "This Content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
    It seems like it is a IE Security Issue, but I am suspecting it could be the Microsoft SharePoint Foundation Sandboxed Code Service.
    Which server should be running the Microsoft SharePoint Foundation Sandboxed Code Service| WFE or APP.
    Also which server should run the Windows Service: SharePoint User Code Host
    Thank you in advance.

    Hi,
    Please have a look at the following post:
    http://technet.microsoft.com/en-us/library/jj219591.aspx
    As it describes, the recommendation is for both services to start it on the Web Front End servers.
    Cheers,
    Vincent

  • OAM Context showing error when updating context file on 11i apps

    HI,
    When i am trying to update context file using OAM, i am getting following error.
    Failed when writing Context Configuration files back to file system. Possible causes: An error occurred while attempting to establish an Applications File Server connection with the node FNDFSP_dbora12. There may be a network configuration problem, or the TNS listener on node FNDFSP_dbora12 may not be running. Please contact your system administrator. . However, you still can run AutoConfig and restart services to make sure these settings take effects.

    Sawwan,
    What is the application release? OS?
    HP Unix
    Has this ever worked? If yes, what changes have been done recently?
    This is cloned environment.
    Do you have proper entry in the hosts file?
    yes
    Is the application listener up and running? Can you view the concurrent requests log/output files? If not, please see (Note: 117012.1 - Troubleshooting the "Error Occurred While Attempting to Establish an Applications File Server Connection").
    yes application listener is up and running.
    Is the value "FNDFSP_dbora12" correct or it points to the source instance in case this is a cloned one? If the value is incorrect, please validate the entries in FND_NODES table (purge the table and run AutoConfig -- I believe you are familiar with the steps
    Value of RRA: Service Prefix is FNDSP_ not FNDSP_dbora12.

  • Firefox 29RC1 wont start when update service enabled.

    Running W8.1 Update 1. I installed FF29RC1 which runs smoothly however when I close FF I can't start it again because it says its already running. When I shut down the FF service in the task manager, disable the update service in FF options, it runs wihthout any problem and I can start FF everytime I want to without any problem.

    Firefox 29.0 has been released, so no need to install a release candidate.
    You can find the full version of the current Firefox 29.0 release in all languages and for all Operating Systems here:
    *http://www.mozilla.org/en-US/firefox/all.html
    Did you check in the system monitor if there still are Firefox processes running?
    Did you install Firefox in your user account (~ or /home/<user>) or in a location that requires root privileges for write access?
    See:
    *http://kb.mozillazine.org/Profile_in_use
    *https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding

  • Error when updating Service Request - 12.1.3

    eBus 12.1.3 - DB 11.2.0.1 - RHEL 4.8
    When updating a service request we receive the error as follows:
    ORA-01438: value larger than specified precision allowed for this column in Package CS_ServiceRequest_PVT Procedure Update_ServiceRequest.
    The notes input isn't all that long compared to ones in the past. If it is based on another field I can't identify which one it is.
    I enabled a trace during the process and this was the section after the updated was attempted.
    PARSE #125:c=1999,e=1131,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,plh=0,tim=1342466511527089
    EXEC #125:c=5999,e=5829,p=0,cr=1,cu=1,mis=1,r=0,dep=1,og=1,plh=3977838810,tim=1342466511533163
    ERROR #125:err=1438 tim=1342466511533218
    STAT #125 id=1 cnt=0 pid=0 pos=1 obj=0 op='UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)'
    STAT #125 id=2 cnt=1 pid=1 pos=1 obj=58779 op='TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)'
    CLOSE #125:c=0,e=42,dep=1,type=0,tim=1342466511533719
    =====================
    PARSING IN CURSOR #124 len=37 dep=1 uid=175 oct=45 lid=175 tim=1342466511533847 hv=1888065881 ad='0' sqlid='aahpwzps8m6at'
    ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
    END OF STMT
    PARSE #124:c=0,e=30,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=0,plh=0,tim=1342466511533844
    EXEC #124:c=1000,e=17838,p=0,cr=0,cu=4,mis=0,r=0,dep=1,og=0,plh=0,tim=1342466511551774
    CLOSE #124:c=0,e=4,dep=1,type=3,tim=1342466511551833
    CLOSE #122:c=0,e=4,dep=1,type=3,tim=1342466511551876
    =====================
    I have compiled the forms for JTF, CS, CSC
    I also ran utlrp.sql to recompile invalid objects and still no luck.
    No luck in metalink thus far. Where would the next logical place be to look for the cause of this error? Thanks

    It appears to be attempting to update all the columns in the statement, I am not sure which ones have data vs which don't.
    <****----------------------STATEMENT---------------------------------------****>
    UPDATE CS_INCIDENTS_ALL_B SET INCIDENT_STATUS_ID = :B174 , INCIDENT_TYPE_ID =
    :B173 , INCIDENT_URGENCY_ID = :B172 , INCIDENT_SEVERITY_ID = :B171 ,
    INCIDENT_OWNER_ID = :B170 , RESOURCE_TYPE = :B169 , INVENTORY_ITEM_ID =
    :B168 , CUSTOMER_ID = :B167 , ACCOUNT_ID = :B166 , CURRENT_SERIAL_NUMBER =
    :B165 , EXPECTED_RESOLUTION_DATE = :B164 , ACTUAL_RESOLUTION_DATE = :B163 ,
    CUSTOMER_PRODUCT_ID = :B162 , BILL_TO_SITE_USE_ID = :B161 ,
    BILL_TO_CONTACT_ID = :B160 , SHIP_TO_SITE_USE_ID = :B159 ,
    SHIP_TO_CONTACT_ID = :B158 , INSTALL_SITE_USE_ID = :B157 ,
    INCIDENT_ATTRIBUTE_1 = :B156 , INCIDENT_ATTRIBUTE_2 = :B155 ,
    INCIDENT_ATTRIBUTE_3 = :B154 , INCIDENT_ATTRIBUTE_4 = :B153 ,
    INCIDENT_ATTRIBUTE_5 = :B152 , INCIDENT_ATTRIBUTE_6 = :B151 ,
    INCIDENT_ATTRIBUTE_7 = :B150 , INCIDENT_ATTRIBUTE_8 = :B149 ,
    INCIDENT_ATTRIBUTE_9 = :B148 , INCIDENT_ATTRIBUTE_10 = :B147 ,
    INCIDENT_ATTRIBUTE_11 = :B146 , INCIDENT_ATTRIBUTE_12 = :B145 ,
    INCIDENT_ATTRIBUTE_13 = :B144 , INCIDENT_ATTRIBUTE_14 = :B143 ,
    INCIDENT_ATTRIBUTE_15 = :B142 , INCIDENT_CONTEXT = :B141 ,
    EXTERNAL_ATTRIBUTE_1 = :B140 , EXTERNAL_ATTRIBUTE_2 = :B139 ,
    EXTERNAL_ATTRIBUTE_3 = :B138 , EXTERNAL_ATTRIBUTE_4 = :B137 ,
    EXTERNAL_ATTRIBUTE_5 = :B136 , EXTERNAL_ATTRIBUTE_6 = :B135 ,
    EXTERNAL_ATTRIBUTE_7 = :B134 , EXTERNAL_ATTRIBUTE_8 = :B133 ,
    EXTERNAL_ATTRIBUTE_9 = :B132 , EXTERNAL_ATTRIBUTE_10 = :B131 ,
    EXTERNAL_ATTRIBUTE_11 = :B130 , EXTERNAL_ATTRIBUTE_12 = :B129 ,
    EXTERNAL_ATTRIBUTE_13 = :B128 , EXTERNAL_ATTRIBUTE_14 = :B127 ,
    EXTERNAL_ATTRIBUTE_15 = :B126 , EXTERNAL_CONTEXT = :B125 , RESOLUTION_CODE =
    :B124 , PROBLEM_CODE = :B123 , ORIGINAL_ORDER_NUMBER = :B122 ,
    PURCHASE_ORDER_NUM = :B121 , CLOSE_DATE = :B120 , PUBLISH_FLAG = :B119 ,
    OBLIGATION_DATE = :B118 , QA_COLLECTION_ID = :B117 , CONTRACT_SERVICE_ID =
    :B116 , CONTRACT_ID = :B115 , CONTRACT_NUMBER = :B114 , PROJECT_NUMBER =
    :B113 , CUSTOMER_PO_NUMBER = :B112 , CUSTOMER_TICKET_NUMBER = :B111 ,
    TIME_ZONE_ID = :B110 , TIME_DIFFERENCE = :B109 , PLATFORM_ID = :B108 ,
    PLATFORM_VERSION = :B107 , PLATFORM_VERSION_ID = :B106 , DB_VERSION = :B105
    , CP_COMPONENT_ID = :B104 , CP_COMPONENT_VERSION_ID = :B103 ,
    CP_SUBCOMPONENT_ID = :B102 , CP_SUBCOMPONENT_VERSION_ID = :B101 ,
    CP_REVISION_ID = :B100 , INV_ITEM_REVISION = :B99 , INV_COMPONENT_ID = :B98
    , INV_COMPONENT_VERSION = :B97 , INV_SUBCOMPONENT_ID = :B96 ,
    INV_SUBCOMPONENT_VERSION = :B95 , SITE_ID = :B94 , CUSTOMER_SITE_ID = :B93 ,
    TERRITORY_ID = :B92 , CUST_PREF_LANG_ID = :B91 , COMM_PREF_CODE = :B90 ,
    CUST_PREF_LANG_CODE = :B89 , LAST_UPDATE_CHANNEL = :B88 , TIER = :B87 ,
    TIER_VERSION = :B86 , OPERATING_SYSTEM = :B85 , OPERATING_SYSTEM_VERSION =
    :B84 , DATABASE = :B83 , CATEGORY_ID = :B82 , GROUP_TYPE = :B81 ,
    OWNER_GROUP_ID = :B80 , GROUP_TERRITORY_ID = :B79 , OWNER_ASSIGNED_TIME =
    :B78 , OWNER_ASSIGNED_FLAG = :B77 , UNASSIGNED_INDICATOR = :B76 ,
    INV_PLATFORM_ORG_ID = :B75 , PRODUCT_REVISION = :B74 , COMPONENT_VERSION =
    :B73 , SUBCOMPONENT_VERSION = :B72 , CATEGORY_SET_ID = :B71 ,
    EXTERNAL_REFERENCE = :B70 , SYSTEM_ID = :B69 , ERROR_CODE = :B68 ,
    INCIDENT_OCCURRED_DATE = :B67 , INCIDENT_RESOLVED_DATE = :B66 ,
    INC_RESPONDED_BY_DATE = :B65 , INCIDENT_LOCATION_ID = :B64 ,
    INCIDENT_ADDRESS = :B63 , INCIDENT_CITY = :B62 , INCIDENT_STATE = :B61 ,
    INCIDENT_COUNTRY = :B60 , INCIDENT_PROVINCE = :B59 , INCIDENT_POSTAL_CODE =
    :B58 , INCIDENT_COUNTY = :B57 , SR_CREATION_CHANNEL = :B56 , COVERAGE_TYPE =
    :B55 , BILL_TO_ACCOUNT_ID = :B54 , SHIP_TO_ACCOUNT_ID = :B53 ,
    CUSTOMER_PHONE_ID = :B52 , CUSTOMER_EMAIL_ID = :B51 ,
    LAST_UPDATE_PROGRAM_CODE = :B50 , LAST_UPDATED_BY = :B49 ,
    LAST_UPDATE_LOGIN = :B48 , LAST_UPDATE_DATE = :B47 , BILL_TO_PARTY_ID =
    :B46 , SHIP_TO_PARTY_ID = :B45 , PROGRAM_ID = :B44 , PROGRAM_APPLICATION_ID
    = :B43 , REQUEST_ID = :B42 , PROGRAM_LOGIN_ID = :B41 , BILL_TO_SITE_ID =
    :B40 , SHIP_TO_SITE_ID = :B39 , STATUS_FLAG = :B38 , OBJECT_VERSION_NUMBER =
    :B37 +1, INCIDENT_POINT_OF_INTEREST=:B36 , INCIDENT_CROSS_STREET=:B35 ,
    INCIDENT_DIRECTION_QUALIFIER=:B34 , INCIDENT_DISTANCE_QUALIFIER=:B33 ,
    INCIDENT_DISTANCE_QUAL_UOM =:B32 , INCIDENT_ADDRESS2 =:B31 ,
    INCIDENT_ADDRESS3=:B30 , INCIDENT_ADDRESS4=:B29 , INCIDENT_ADDRESS_STYLE=
    :B28 , INCIDENT_ADDR_LINES_PHONETIC =:B27 , INCIDENT_PO_BOX_NUMBER =:B26 ,
    INCIDENT_HOUSE_NUMBER =:B25 , INCIDENT_STREET_SUFFIX =:B24 ,
    INCIDENT_STREET =:B23 , INCIDENT_STREET_NUMBER =:B22 , INCIDENT_FLOOR=:B21 ,
    INCIDENT_SUITE =:B20 , INCIDENT_POSTAL_PLUS4_CODE =:B19 ,
    INCIDENT_POSITION =:B18 , INCIDENT_LOCATION_DIRECTIONS=:B17 ,
    INCIDENT_LOCATION_DESCRIPTION =:B16 , INSTALL_SITE_ID =:B15 ,
    INV_ORGANIZATION_ID= :B14 , OWNING_DEPARTMENT_ID = :B13 ,
    INCIDENT_LOCATION_TYPE = :B12 , INCIDENT_LAST_MODIFIED_DATE = SYSDATE,
    MAINT_ORGANIZATION_ID = :B11 , INSTRUMENT_PAYMENT_USE_ID = :B10 ,
    SLA_DATE_1 = :B9 , SLA_DATE_2 = :B8 , SLA_DATE_3 = :B7 , SLA_DATE_4 = :B6 ,
    SLA_DATE_5 = :B5 , SLA_DATE_6 = :B4 , SLA_DURATION_1 = :B3 , SLA_DURATION_2
    = :B2
    WHERE
    ROWID = :B1
    <****----------------------END STATEMENT---------------------------------------****>
    After that statement this is what the tkprof generated reports shows
    <****------------------------------------TKPROF-----------------------------------------****>
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 1 1 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 1 1 0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 175 (recursive depth: 1)
    Rows Row Source Operation
    0 UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)
    1 TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)
    SQL ID: aahpwzps8m6at
    Plan Hash: 0
    ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.01 0 0 4 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.01 0 0 4 0
    Misses in library cache during parse: 0
    0 UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)
    1 TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)
    SQL ID: aahpwzps8m6at
    Plan Hash: 0
    ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.01 0 0 4 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.01 0 0 4 0
    Misses in library cache during parse: 0
    Parsing user id: 175 (recursive depth: 1)
    <****------------------------------------END TKPROF-----------------------------------------****>

  • When updating .lbi files in DreamWeaver CS4 I get an invalid path.

    When I make changes to my .lbi files in DreamWeaver CS4 I and try to update them I am getting
       item Library\dreamweaver\themed_image.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\themed_image.lbi contains an invalid path.
        item Library\dreamweaver\logo.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\logo.lbi contains an invalid path.
        item Library\dreamweaver\icons.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\icons.lbi contains an invalid path.
        item Library\dreamweaver\menu_top.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\menu_top.lbi contains an invalid path.
        item Library\dreamweaver\menu_side.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\menu_side.lbi contains an invalid path.
        item Library\dreamweaver\$_whats_new.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\$_whats_new.lbi contains an invalid path.
      files examined: 136
      files updated: 0
      files which could not be updated: 0
    total time: (0:00:13)
    Here is the code in one of the files for my side menu.. I do not see what is wrong and was wondering if anyone could help. Thank you.
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!--
      <div class="maincontainer">
            <table style="width: 100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                    <table style="width: 100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="headerleft"><h3>MainMenu</h3></td>
                            <td class="headerright"> </td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    <table style="width: 100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="leftcolumn"></td>
                            <td class="maincontent">
    -->   
    <div class="maincontent">   
    <h3>MainMenu</h3>               
    <div class="bg">
    <!-- menu  -->
    <div id="ddsidemenubar" class="sidemenu">
    <ul>
    <li><a href="../../index.htm"             title="Home">                        <span>Home</span></a></li>
    <li><a href="../../catalog_opening.html"         title="Catalog"     rel="sub1">        <span>Catalog</span></a></li>
    <li><a href="../../services.htm"         title="Services"    rel="sub2">        <span>Services</span></a></li>
    <li><a href="../../photo_gallery.htm"     title="Photos">Gallery<span></span></a></li>
    <li><a href="../../sitemap.htm"         title="Search">                        <span>Search</span></a></li>
    </ul>
    </div>
    <script type="text/javascript">
    ddlevelsmenu.setup("ddsidemenubar", "sidebar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    <!--Side Drop Down Menu 1 HTML-->
    <ul id="sub1" class="ddsubmenustyle sidesubmenu">
    <li><a href="../../catalog_opening.html">Senior Class T-Shirts</a>
      <ul>
        <li><a href="../../catalog_seniorclass.html">Page 1</a></li>
        <li><a href="../../catalog_seniorclass2.html">Page 2</a></li>
      </ul>
    </li>
    <li><a href="../../catalog_opening.html">School T-Shirts</a>
      <ul>
        <li><a href="../../catalog_school1.html">Page 1</a></li>
        <li><a href="../../catalog_school2.html">Page 2</a></li>
      </ul>
    </li>
    <li><a href="../../catalog_opening.html">Montana T-Shirts</a>
      <ul>
        <li><a href="../../catalog_montana1.html">Page 1</a></li>
        <li><a href="../../catalog_montana2.html">Page 2</a></li>
        <li><a href="../../catalog_montana3.html">Page 3</a></li>
        </ul>
    </li>
    <li><a href="../../catalog_misc.html">Misc T-Shirts</a>
      </li>
    </ul>
    <!--Side Drop Down Menu 2 HTML-->
    <ul id="sub2" class="ddsubmenustyle sidesubmenu">
    <li><a href="../../direct_to_garment.html">T-Shirt Printing</a> </li>
    <li><a href="../../computer_design.html">Computer Design</a> </li>
    <li><a href="../../signs.html">Signs</a> </li>
    <li><a href="../../vehicle_graphics_and_wraps.html">Vehicle Graphics/Wraps</a> </li>
    <li><a href="../../airbrush.html">Airbrush</a> </li>
    </ul>
    <!--Side Drop Down Menu 3 HTML-->
    <!-- end menu / do not edit beyond this line -->
    </div></div>
    <!--
                            </td>
                            <td class="rightcolumn"></td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    <table style="width: 100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bottomleft"> </td>
                            <td class="bottomright"> </td>
                        </tr>
                    </table>
                    </td>
                </tr>
            </table>
    </div>
    -->

    Are all of your pages that are linked to this on the same directory level?
    The ../../ in front of every link means "go up two directory levels". If there are no pages, or if some of the pages are not at that directory level, the links would be going to nothing.
    I don't use library items myself, so I'm not sure if that has anything to do with it, but the "bad path" in your error report leads me to think some of those paths (since they're the only ones in the code) could be pointing to the wrong locations.
    My response will also bump your question back to the top of the pile. Maybe someone else will have a good idea of what's actually happening.

  • Systemd - help with creating a service file

    Hi, I am trying to make a service file to execute "devmon --no-mount --exec-on-audio abcde". Basicly I want abcde to run when an audio cd is inserted into a headless computer. I have tried some udev rules but had no luck with that.
    I then found udevil and devmon, and it seems to do exectly what I want.
    So Ive made a systemd service file and put it in to /usr/lib/systemd/system
    here is it:
    /usr/lib/systemd/system/abcde-auto.service
    [Unit]
    Description=Virtual Distributed Ethernet
    [Service]
    Type=simple
    ExecStart=/usr/bin/devmon --no-mount --exec-on-audio abcde
    [Install]
    WantedBy=multi-user.target
    I have started this with
    systemctl start abcde-auto.service
    and I see that a devmon process has started with the same arguments I gave in the service file, so all is good.
    But now, I am not too sure about the "Type" in the service file, devmon starts abcde, but:
    systemctl stop abcde-auto.service
    does not stop abcde, only devmon.
    Is there a way to setup the service file so that abcde will end as well as devmon?
    *Edit
    Ive read this http://www.freedesktop.org/software/sys … rvice.html but Im still not too sure. Dont really know what most of it means.
    Last edited by jrussell (2012-10-20 18:09:23)

    I use type 'oneshot' and add an ExecStop= to start and stop scripts.
    Like here is the unit file I use to start and stop arno-iptables-firewall
    [Unit]
    Description=Arno iptables firewall
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/usr/sbin/arno-iptables-firewall start
    ExecStop=/usr/sbin/arno-iptables-firewall stop
    [Install]
    WantedBy=multi-user.target

  • Pacman: strange handling of newer packages when updating

    I've upgradedto Xorg 7.1 packages from the testing/ repository and now when I run pacman -Syu... well it correctly reports:
    :: libgl-dri: local (6.5rc1-1) appears to be newer than repo (current/6.4.2-2)
    :: mesa: local (6.5.1rc1-1) appears to be newer than repo (current/6.4.2-1)
    :: xf86-input-keyboard: local (1.1.0-1) appears to be newer than repo (current/1.0.1.3-1)
    :: xf86-input-mouse: local (1.1.1-1) appears to be newer than repo (current/1.0.4-1)
    :: xf86-video-ati: local (6.6.2-1) appears to be newer than repo (current/6.5.8.0-1)
    :: xorg-server: local (1.1.1-1) appears to be newer than repo (current/1.0.2-3)
    :: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'
    And that's fine, BUT... I also have installed fixesproto-4.0-2 from testing/ and pacman -Syu tries to downgrade it to 3.0.2-2 from current/.
    Is it a bug in pacman that thinks 3.0.2-2 > 4.0-2 ?
    (I tried renaming fixesproto-4.0-2 to fixesproto-4.0.0-2 in /var/lib/pacman/local , and edited the version in desc, but that didn't help -  although pacman -Q shows the new version)
    Pacman is v2.9.8

    Thanks phrakture, that explains it, it's good to know it's not a bug in pacman. BTW why is that force=y needed?
    chrismortimore, there's nothing special in my pacman.conf - except that testing is put last.
    It is only an issue because you are using partial testing packages, which is not recommended.
    well, I can only test some packages at a time, not the whole bunch... I still need the computer for work..
    I only upgraded Xorg-server because: I knew I can get away with only several packages from testing/ and wanted to know if there are improvements in the mach64 driver, since sometimes when moving the mouse I see like a ghost flicker of the cursor. That iritates... alas 7.1 didn't help, EXA doesn't add much and EXA + RenderAccel hangs the X server.

  • Bug:Java install should remove old uninstall entries when updating in-place

    Assume I have installed an (old) version of Java (under 64bit Win7)..
    Now I download a newer/newest version of Java JDK and start installation process.
    When prompted I tell the procedure to install JAva JDK in the SAME directory as the previous version.
    So the old version does NOT exist any more afterwards.
    Everything works fine except the fact that afterwards there is still the uninstall entry of the old version alive.
    Java installation procedure should automatically remove these old uninstall entries.
    I guess Oracle Java development team thinks users will install new Java versions always in different directories (which is not a must).
    I think this is a bug or at least a feature request.
    Where can I officially tell oracle to fix it?
    Is there an official bug/feature request form?
    Thx
    Peter

    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 20.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    *Help > Troubleshooting Information > Profile Directory: Show Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup

  • Getting a run time error  R6034 when updating itunes

    Itunes trying to load incorrectly

    Not sure why this thread bubbled up, but for more recent advice on this topic see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Problem when updating dhcpcd file

    My internet is working fine except when i update the dhcpcd file i can't access a lot of server or site. Example, i use the gatech server with pacman but after the dhcpcd update i can't.
    I can visit the archlinux website but not his wiki or forum...
    Any clue?
    i just use dhcp in my rc.conf for my eth0
    here my lspci:
    04:07.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
    04:09.0 Communication controller: Conexant HSF 56k Data/Fax Modem
    and my ifconfig -a:
    eth0 Link encap:Ethernet HWaddr 00:1A:A0:1F:56:EC
    inet addr:24.212.59.90 Bcast:255.255.255.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
    RX packets:28258 errors:18 dropped:0 overruns:0 frame:18
    TX packets:6011 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:5033084 (4.7 Mb) TX bytes:708820 (692.2 Kb)
    Interrupt:19
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:284 errors:0 dropped:0 overruns:0 frame:0
    TX packets:284 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:17836 (17.4 Kb) TX bytes:17836 (17.4 Kb)
    Last edited by BeRReGoN (2009-01-02 16:16:05)

    When i use dhclient i got the same problem too. I'm out of clue right now...

  • Runtime error when updating service item with BAPI PO CHANGE

    Hi,
    I get rutime error TABLE_INVALID_INDEX after calls:
    BAPI_PO_CHANGE-> PROCESS_NON_INTEGRATED_COMP-> CHANGE_PO_SRV_ITEM -> MS_CHANGE_SERVICE_PACKAGE_PO -> ROW_IN_PO -> CHECK_ACC_PO -> MS_CHANGE_ACCASS_PO -> ESKL_UPDATE.
    the reason is, that ESKL internal table is empty, so the function retrieves last entry index, there is no entry , so  sy-tabix = 0 , and function updates with index 0, which causes the runtime error. I dont know why it is empty, maybe I should copy this table gt_srvaccess from BAPI_PO_GETDETAIL  to BAPI_PO_CHANGE.
    This error appears only in mode KNTIMOD=2 (Multikontierung), not in KNTIMOD=1(Einfachkontierung), so just when ESKL contains more lines for one PACKAGE_NUMBER.
    I am just updating the value ordered to be equal value delivered to close the PO, or delete the item in case ordered >0 and deliveded = 0.
    Here is my part of code:
    *close existing PO's by changing the value ordered to the value receipted
                move 'X' to w_change_flag.
                w_hdrx-po_number = 'X'.
                if w_total-val_gr_for is not initial.
                  w_itemx-delete_ind = 'X'.
                  append w_itemx to gt_itemx.
                  clear: w_itemx.
                  read table gt_services into w_service2 with key pckg_no = w_item-pckg_no.
                  if sy-subrc eq 0.                                                                               
    read table gt_services into w_service with key pckg_no = w_service2-subpckg_no.
                    if sy-subrc eq 0.                                                                               
    move: w_total-val_gr_for to w_service-quantity,
                            '1'                to w_service-gr_price.
                      modify gt_services index sy-tabix from w_service transporting quantity gr_price.
                    endif.
                  endif.
                else. "nothing delivered yet, set deletion flag
                  w_itemx-po_item = w_item-po_item.
                  w_itemx-delete_ind = 'X'.
                  append w_itemx to gt_itemx.
                  clear: w_itemx.
                  w_item-delete_ind = 'L'.
                  modify gt_item index w_count from w_item transporting delete_ind.
                endif.
        call function 'BAPI_PO_CHANGE'
          exporting
            purchaseorder = w_ekko-ebeln
            poheader      = w_header
            poheaderx     = w_hdrx
            testrun       = w_testrun_flag
            no_messaging  = 'X'
          importing
            expheader     = w_exphdr
          tables
            return        = gt_return1
            poitem        = gt_item
            poitemx       = gt_itemx
            poservices    = gt_services.
    Thanks, please help.
    regards Rob
    Edited by: xsmid4 on Nov 2, 2011 11:49 AM
    Edited by: xsmid4 on Nov 2, 2011 12:08 PM

    Hi,
    Take a look at OSS Note 827731. It might be helpful to you.
    [ Link for Note 827731|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=827731]
    Regards,
    koolspy.

  • TCS 4 - RH crashes when updating FM files

    I link FM files to RH to create the help file. After upgrading to TCS 4, RH kept crashing every time I tried to update the FM files. It crashed during the converting process on the same chapter. So after painful investigation, I finally determined it was the callouts on two graphics in that chapter. After removing the callouts, RH updated the FM files without crashing. I only mention this here on the forum in hopes of saving others from experiencing the pain I just went through. Good luck!

    Thanks. I will choose Blank Project  instead if Application from now on, though I understand that is erased by choosing FM files. I really just want compliant HTML 5 output with a single CSS file that I can deploy with linked files, which will be PNGs.
    So, can you  help with my customization questions?
    Also, another issue I have run into is spacing in the HTML around run-in headings. This is caused by RH adding an extra blank paragraph with a non-breaking space, as show in the following code. I don't need this empty paragraph added, and it was not in the FM source. Thoughts?
    <p class="FM_GlossaryTerm">Term Name Here as a runin in FrameMaker.</p>
    <p class="FM_GlossaryTerm">&#160;</p>  //<-- This line added in RH conversion, and I don't want it.
    <p class="FM_GlossaryDefinition">Term definition paragraph here.</p>
    Cheers,
    Sean

  • Hello all, i am in need of the newer version of Mobile Device Support as when updating the file was not installed, would anyone tell me where i could find a new version? thankyou

    Hello all, i recently updated my itunes but when i did this the Mobile Device Support file did not install, would anyone be able to help me find a download? thanks

    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

Maybe you are looking for

  • Any hope for an accidental purchase?

    i use the shopping cart to make purchases, and i accidentally bought a game i didn't want to buy at the moment. this game was on the list in between the two items i wanted to buy, and i accidentally clicked the button to buy the game. i noticed this

  • Error while testing SOAP scenario

    I have done SOAP(Sender)--SAP-PI- SOAP(RECEIVER) Scenario. It is in synchorous mode.. It works fine in Altove XML Spy.. and getting the response fron webservice.. but when i;m testing it PI (RWB->Comp Monit>Integration engine-->Test Messge ) it gives

  • Oracle Enterprise Manager Console on Win 7 64bits OS 6.1

    Hello everyone, I've been looking for a solution for my problem and got nothing so far. This is the situation: I''m a new DBA in my work and my co-workers sent me the Oracle Client 10g to be installed on my new notebook. The reason is that we have mo

  • How to set a button to flatten & email PDF document

    Hi everyone, I am new enough to form creation and have a request for any help? I have a form I would like to give to someone. They should be able to fill it as they need to in reader etc. (with various basic fields and an incrementing number for each

  • Regarding errpr idoc reprocess

    Hi Experts,     Currently iam working on inbound idoc 'ORDERS04'.     For background process we have the sap standard program 'RBDAPP01'. how can i achive the following requirement.i have created one custom table for this req with idoc number,PO numb